[gstreamer-bugs] [Bug 555321] New: avidemux does not reset its state properly on PAUSED->READY

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 6 16:43:07 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=555321

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: avidemux does not reset its state properly on PAUSED-
                    >READY
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pzeldin at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
gstavidemux.c:gst_avi_demux_reset () does not set several member of GstAviDemux
structure.
in particular it needs
 avi->header_state = GST_AVI_DEMUX_HEADER_TAG_LIST;

Also gst_avi_demux_parse_stream () removes existing pads an replaces
them with new ones for reasons unclear. New pads end up being unlinked.

Steps to reproduce:
1. Build test program:
gcc -o pipelineplayer `pkg-config --cflags-only-I gstreamer-0.10`
pipelineplayer.c `pkg-config --libs gstreamer-0.10`
2. Run the program:
./pipelineplayer 'videotestsrc ! ffmpegcolorspace ! timeoverlay ! ffenc_mpeg4 !
avimux ! avidemux ! ffdec_mpeg4 ! ffmpegcolorspace ! ximagesink'
It outputs the pid of its program, and an X11 client window appears.
3. Send HUP signal
kill -HUP <pid>

Actual results:
The X11 client window disappears

Expected results:
The window should stay and timestamps should restart

Does this happen every time?
yes

Other information:
works for the following pipeline:
/pipelineplayer 'videotestsrc ! ffmpegcolorspace ! timeoverlay ! ffenc_mpeg4 !
ffdec_mpeg4 ! ffmpegcolorspace ! ximagesink'


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=555321.




More information about the Gstreamer-bugs mailing list