src getting deactivate in push mode

Mayank Agarwal mayank77fromindia at gmail.com
Mon Dec 8 03:33:46 PST 2014


Hi,


I am trying to run the following pipeline:
gst-launch-1.0 avfilesrc location=test.mp3 ! mad ! autoaudiosink
where avfilesrc is my custome plugin based on filesrc.

But i am not able to get any audio .On analysing the logs using
GST_DEBUG =5 I came across the error in following lines:

basesrc gstbasesrc.c:3747:gst_base_src_activate_mode:<filesrc0:src>
activating in mode 1
0:00:09.822140505 60125      0x2006400 DEBUG                basesrc
gstbasesrc.c:3681:gst_base_src_activate_push:<filesrc0> Deactivating
in push mode
0:00:09.822153367 60125      0x2006400 DEBUG                basesrc
gstbasesrc.c:3506:gst_base_src_stop:<filesrc0> stopping source
0:00:09.822166661 60125      0x2006400 DEBUG                basesrc
gstbasesrc.c:3549:gst_base_src_set_flushing:<filesrc0> flushing 1,
live_play 0

while the file with original plugin src is playing fine and is showing
the following logs:
in filesrc:
0:00:04.093566805 60125      0x2006400 DEBUG                basesrc
gstbasesrc.c:3747:gst_base_src_activate_mode:<filesrc0:src> activating
in mode 1
0:00:04.093585096 60125      0x2006400 DEBUG                basesrc
gstbasesrc.c:3673:gst_base_src_activate_push:<filesrc0> Activating in
push mode
0:00:04.093605863 60125      0x2006400 INFO                 filesrc
gstfilesrc.c:450:gst_file_src_start:<filesrc0> opening file test.mp3
0:00:04.093667615 60125      0x2006400 DEBUG                basesrc
gstbasesrc.c:3354:gst_base_src_start_complete:<filesrc0> starting
source

Please help me debug thereasons for the same.

Regards,
Mayank


More information about the gstreamer-devel mailing list