mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 884651 - Stop gstreamer from trying to sync video and audio for us r=cpearce
This commit is contained in:
parent
70bfbee4ec
commit
5d9cba4524
@ -144,14 +144,14 @@ nsresult GStreamerReader::Init(MediaDecoderReader* aCloneDonor)
|
||||
|
||||
mAudioSink = gst_parse_bin_from_description("capsfilter name=filter ! "
|
||||
#ifdef MOZ_SAMPLE_TYPE_FLOAT32
|
||||
"appsink name=audiosink max-buffers=2 sync=true caps=audio/x-raw-float,"
|
||||
"appsink name=audiosink max-buffers=2 sync=false caps=audio/x-raw-float,"
|
||||
#ifdef IS_LITTLE_ENDIAN
|
||||
"channels={1,2},width=32,endianness=1234", TRUE, nullptr);
|
||||
#else
|
||||
"channels={1,2},width=32,endianness=4321", TRUE, nullptr);
|
||||
#endif
|
||||
#else
|
||||
"appsink name=audiosink max-buffers=2 sync=true caps=audio/x-raw-int,"
|
||||
"appsink name=audiosink max-buffers=2 sync=false caps=audio/x-raw-int,"
|
||||
#ifdef IS_LITTLE_ENDIAN
|
||||
"channels={1,2},width=16,endianness=1234", TRUE, nullptr);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user