[Bug 787323] New: ghostpad : Issue in setting pad mode for a bin created dynamically(when pipeline is running)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 5 17:37:16 UTC 2017


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

            Bug ID: 787323
           Summary: ghostpad : Issue in setting pad mode for a bin created
                    dynamically(when pipeline is running)
    Classification: Platform
           Product: GStreamer
           Version: 1.12.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jagadishkamathk at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 359221
  --> https://bugzilla.gnome.org/attachment.cgi?id=359221&action=edit
Sample application to reproduce the issue(based on test-segment-seek)

I have had this issue in my application which I'm able to reproduce in a small
testbench

I have a pipeline gst-launch-1.0 playbin uri=xxx.mp4. When this file xxx.mp4
play is done, 
1. I create another srcBin ! typefind ! sink branch and add to the pipeline(and
link). SrcBin is a bin encapsulating filesrc
2. Call gst_bin_sync_children_states()

I see that the filesrc's pad activation function called 3 times, pull-pull-push
mode. However, typefind thinks the pad in PULL mode. And this gives error *pull
range on pad bin_src_pad:proxypad16 but it wasnot activated in pull mode*

No such issue is seen is srcBin is replaced with filesrc(make #if 0 in line
156)

It seems like some bug in ghostpad's pad activation when done when pipeline is
running

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