[gstreamer-bugs] [Bug 597883] New: Using playbin2 instead of playbin blocks the pipeline

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 9 01:14:01 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597883
  GStreamer | don't know | 0.10.25

           Summary: Using playbin2 instead of playbin blocks the pipeline
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.25
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: zq6 at gishpuppy.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


I have the content "making_of_elephants_dream_3160kbps_2chn_48000Hz.mpg"

It starts rendering correctly when using this command:
   gst-launch playbin uri=file:///home/francis/Desktop
/making_of_elephants_dream_3160kbps_2chn_48000Hz.mpg

But it blocks before the pipeline gets into the state GST_STATE_PAUSED
when replacing playbin with playbin2

The mpega and mpegv elements are custom made elements!

When I attach a debuger I see 6 threads:
- g_main_loop_run() waiting in poll
- gst_multi_queue_loop() waiting in handle_pad_block()
- gst_base_src_loop() driving the demuxer
     gst_mpeg_demux_send_subbuffer() waits in gst_data_queue_push()
- gst_multi_queue_loop() doing gst_mpegvideoparse_chain() doing
     mpv_send_pending_segs()
 My mpegv decoder handles the NEWSEGMENT and then hangs in handle_pad_block()
- gst_multi_queue_loop() doing a gst_mpegvideoparse_chain()
 My mpegv decoder is blocked in gst_pad_alloc_buffer_full()
     again because of handle_pad_block()
- gst_multi_queue_loop() doing a gst_mp3parse_chain()
 My mpega decoder handles the NEWSEGMENT and then hangs in handle_pad_block()

Is it normal to see 2 threads handling the video decoder related stuff?
If not, what might be the reason?

my gstreamer build is 0.10.25.
PS I succeed rendering MPEGTS container with AAC and h264 with
gst-launch using playbin2
I can also play MPEG 1 layer 1 audio with playbin2 ...

I attach backtraces soon ...

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