GNOME Bugzilla – Bug 355210
Sample pipeline from the documentation doesn't work properly
Last modified: 2006-09-15 16:02:39 UTC
Please describe the problem: When executing sample pipeline from multipartdemux documentation (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multipartdemux.html), the ximagesink element doesn't display enything. Steps to reproduce: 1) Create /tmp/test.multipart file using the following command (sample pipeline from multipartmux documentation with "num-buffers=500" added): $ gst-launch videotestsrc num-buffers=500 ! video/x-raw-yuv, framerate=\(fraction\)5/1 ! jpegenc ! multipartmux ! filesink location=/tmp/test.multipart 2) Execute the following command (from multipartdemux documentation): $ gst-launch filesrc location=/tmp/test.multipart ! multipartdemux ! jpegdec ! video/x-raw-yuv, framerate=\(fraction\)5/1 ! ffmpegcolorspace ! ximagesink There's no error reported, but the commad doesn't open any window with ximagesink output. 3) Execute the same command without setting framerate: $ gst-launch filesrc location=/tmp/test.multipart ! multipartdemux ! jpegdec ! ffmpegcolorspace ! ximagesink This time ximagesink works as expected. Actual results: Expected results: Does this happen every time? Other information: This is GStreamer 0.10.9 from Garnome: $ gst-launch --version gst-launch-0.10 version 0.10.9 GStreamer 0.10.9 Unknown package origin
* gst/multipart/multipartdemux.c: (gst_multipart_demux_chain): Fix documentation, it is not possible to control the framerate of jpegdec using filtered caps yet. Fixes #355210. Return the downstream GstFlowReturn instead of GST_FLOW_OK so that we stop when there is an error.