After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 519301 - avimux fails when going from NULL to playing a second time
avimux fails when going from NULL to playing a second time
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-28 15:06 UTC by Edgard Lima
Modified: 2008-05-12 15:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixing patch (968 bytes, patch)
2008-03-03 16:54 UTC, Mark Nauwelaerts
committed Details | Review

Description Edgard Lima 2008-02-28 15:06:23 UTC
Just run a simple pile like this:

v4l2src ! ffenc_mpeg4 ! avimux name=mux ! filesink location=test.avi

or

v4l2src ! xvidenc ! avimux name=mux ! filesink location=test.avi

then change the pipeline state to PLAYING then NULL and then PLAYING again, then it fails.

BR,
Edgard
Comment 1 Mark Nauwelaerts 2008-03-03 16:54:47 UTC
Created attachment 106490 [details] [review]
Fixing patch

Oops, small glitch when performing the reset, this should take care of it.

* Preserve a pad's fourcc tag when performing reset (on e.g. NULL state change).
Comment 2 Mark Nauwelaerts 2008-05-12 15:32:59 UTC
2008-05-12  Mark Nauwelaerts  <mnauw@users.sf.net>

	* gst/avi/gstavimux.c: (gst_avi_mux_pad_reset):
	Do not leave fourcc stream header field empty upon reset.
	Fixes #519301.