From 5d9cba45244a5b04ab38d5fb67f68ecbee065e0e Mon Sep 17 00:00:00 2001 From: Edwin Flores Date: Fri, 6 Sep 2013 15:14:48 +1200 Subject: [PATCH] Bug 884651 - Stop gstreamer from trying to sync video and audio for us r=cpearce --- content/media/gstreamer/GStreamerReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/media/gstreamer/GStreamerReader.cpp b/content/media/gstreamer/GStreamerReader.cpp index 3e9b7b5206e..3c4095e6e0c 100644 --- a/content/media/gstreamer/GStreamerReader.cpp +++ b/content/media/gstreamer/GStreamerReader.cpp @@ -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