[Bug 756563] New: pnmdec causes multifilesrc to return internal data flow error (caused by a gst_pad_push() error)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 14 04:20:16 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=756563

            Bug ID: 756563
           Summary: pnmdec causes multifilesrc to return internal data
                    flow error (caused by a gst_pad_push() error)
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: msb at qtec.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When trying to use multifilesrc with the pnmdec I get an "Internal data flow
error" after the first image

Record a stream:
gst-launch-1.0 videotestsrc num-buffers=10 ! pnmenc ! multifilesink

Play the stream:
gst-launch-1.0 multifilesrc ! pnmdec ! fakesink

ERROR: from element /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
Internal data flow error.
Additional debug info:
/var/lib/jenkins/jobs/qt5022-cesium/workspace/build/tmp/work/bobcat_64-poky-linux/gstreamer1.0/git-r0/git/libs/gst/base/gstbasesrc.c(2949):
gst_base_src_loop (): /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
gst-launch-1.0 multifilesrc ! pnmdec ! fakesink

Setting --gst-debug=*src*:5 will show that it is a gst_pad_push() error:

...
0:00:00.027635899   788       0x611400 DEBUG           multifilesrc
gstmultifilesrc.c:381:gst_multi_file_src_get_filename: 0
0:00:00.027793246   788       0x611400 DEBUG           multifilesrc
gstmultifilesrc.c:414:gst_multi_file_src_create:<multifilesrc0> reading from
file "00000".
0:00:00.028805526   788       0x611400 DEBUG           multifilesrc
gstmultifilesrc.c:456:gst_multi_file_src_create:<multifilesrc0> read file
"00000".
...
0:00:00.032062416   788       0x690490 DEBUG                basesrc
gstbasesrc.c:3810:gst_base_src_change_state:<multifilesrc0> PAUSED->PLAYING
0:00:00.032105420   788       0x611400 DEBUG                basesrc
gstbasesrc.c:2356:gst_base_src_update_length:<multifilesrc0> reading offset
230415, length 4096, size -1, segment.stop -1, maxsize -1
0:00:00.032194276   788       0x611400 DEBUG                basesrc
gstbasesrc.c:2457:gst_base_src_get_range:<multifilesrc0> calling create offset
230415 length 4096, time 0
0:00:00.032224544   788       0x611400 DEBUG           multifilesrc
gstmultifilesrc.c:381:gst_multi_file_src_get_filename: 1
0:00:00.032249722   788       0x611400 DEBUG           multifilesrc
gstmultifilesrc.c:414:gst_multi_file_src_create:<multifilesrc0> reading from
file "00001".
New clock: GstSystemClock
0:00:00.032800276   788       0x611400 DEBUG           multifilesrc
gstmultifilesrc.c:456:gst_multi_file_src_create:<multifilesrc0> read file
"00001".
0:00:00.033002571   788       0x611400 DEBUG                basesrc
gstbasesrc.c:2317:gst_base_src_do_sync:<multifilesrc0> no sync needed
0:00:00.033047402   788       0x611400 DEBUG                basesrc
gstbasesrc.c:2521:gst_base_src_get_range:<multifilesrc0> buffer ok
0:00:00.033116960   788       0x611400 INFO                 basesrc
gstbasesrc.c:2857:gst_base_src_loop:<multifilesrc0> pausing after
gst_pad_push() = error
0:00:00.033163011   788       0x611400 DEBUG                basesrc
gstbasesrc.c:2900:gst_base_src_loop:<multifilesrc0> pausing task, reason error
0:00:00.033301061   788       0x611400 WARN                 basesrc
gstbasesrc.c:2949:gst_base_src_loop:<multifilesrc0> error: Internal data flow
error.
0:00:00.033376359   788       0x611400 WARN                 basesrc
gstbasesrc.c:2949:gst_base_src_loop:<multifilesrc0> error: streaming task
paused, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
Internal data flow error.

Note that if jpeg/png (even raw) formats are used it works, therefore I assume
the problem must be in the pnmdec...

gst-launch-1.0 videotestsrc num-buffers=10 ! jpegenc ! multifilesink
gst-launch-1.0 multifilesrc ! jpegdec ! fakesink
or
gst-launch-1.0 videotestsrc num-buffers=10 ! pngenc ! multifilesink
gst-launch-1.0 multifilesrc ! pngdec ! fakesink

-- 
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