[Bug 701976] New: appsrc -> flvdemux with dynamic pads results in error

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 10 21:26:00 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=701976
  GStreamer | gst-plugins-base | 1.0.7

           Summary: appsrc -> flvdemux with dynamic pads results in error
    Classification: Platform
           Product: GStreamer
           Version: 1.0.7
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bilvanavathe at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I have attached a sample code.
This is derived from the basic example at :
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html
with the following changes :

1. audio elements were replaced with video
2. filesrc was replaced with appsrc & the code related to it

I compiled this using :

 gcc -Wall -g  ./gst_dynamic_padding_expt.c -g $(pkg-config --cflags --libs
gstreamer-1.0) -lgstapp-1.0 -o dynamic_padding

If I run this with a sample input flv file, I get "Internal data flow
error" due to following reason :


   1. After adding video pad of the demuxer dynamically, appsrc
   renegotiation is getting called
   2. The caps video/x-flv are received by flvdemux sink & then forwarded
   to src pad
   3. Src pad says that negotiation failed, and stores the event as pending
   since it is a sticky event
   4. In future, whenever we try to push any data through the src pad, it
   checks all the pending sticky events & says that negotiation failed


What am I missing here? Is it a bug in appsrc or flvdemux?


Thanks in anticipation

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