[gstreamer-bugs] [Bug 350044] DVD subtitles (vobsub) are broken in gstreamer 0.10

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Aug 5 03:20:41 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=350044
 GStreamer | gst-plugins-ugly | Ver: 0.10.x





------- Comment #1 from Frédéric Riss  2006-08-05 10:20 UTC -------
Created an attachment (id=70253)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=70253&action=view)
Patch to fix the duration computation of output buffers

The current code sets the output buffers duration to a negative value! The
attached one-liner fixes that:

2006-08-05  Frederic Riss  <frederic.riss at gmail.com>

        * gst/dvdsub/gstdvdsubdec.c (gst_send_subtitle_frame): Unless
        we're playing 'Back to the future', we'd better use positive 
        buffer durations.  

With this patch, I'm able to display the subtitles in an empty window using a
pipeline along the line of:

gst-launch-0.10 <src>  ! dvdsubdec ! ffmpegcolorspace ! xvimagesink

where <src> is either a dvddemux on a vob file or a matroska demux on a
matroska file embedding VOBSUBs with my patch in bug 343348 applied.

I still don't manage to build a pipeline where I use videomixer to mix the
decoded video with the subtitles... Possibly related, subtitles still don't
work in totem. So where should I look next to make all this working ?


-- 
Configure bugmail: http://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