[Bug 656154] Juddery MPEG TS playback

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 30 10:41:16 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=656154
  GStreamer | gst-ffmpeg | 0.10.12

--- Comment #5 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-08-30 17:41:16 UTC ---
The issue is that, when using the ffmpeg based decoder, legacympegparse is
needed.
However, when setting the rank of ffdec_mpeg2dec to PRIMARY+1, legacyparse ends
up not being selected. The solution is to remove mpeg2dec (eg, set its rank to
NONE - note that SECONDARY wasn't enough), then it all works smoothly as
legacympegparse gets used. Your patch to bump ffdec_mpeg2dec to PRIMARY+1 is
not then needed.

diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c
index 4e03c69..848ef0d 100644
--- a/ext/mpeg2dec/gstmpeg2dec.c
+++ b/ext/mpeg2dec/gstmpeg2dec.c
@@ -1788,7 +1791,7 @@ init_failed:
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
-  if (!gst_element_register (plugin, "mpeg2dec", GST_RANK_PRIMARY,
+  if (!gst_element_register (plugin, "mpeg2dec", GST_RANK_NONE,
           GST_TYPE_MPEG2DEC))
     return FALSE;

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list