[gstreamer-bugs] [Bug 605997] New: gst_clock_id_wait_async:getting callback even if the pipeline is paused or output window is closed!
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Jan 3 22:48:06 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=605997
GStreamer | gst-rtsp-server | git
Summary: gst_clock_id_wait_async:getting callback even if the
pipeline is paused or output window is closed!
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-rtsp-server
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: bsreerenj at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=150768)
--> (https://bugzilla.gnome.org/attachment.cgi?id=150768)
example code for testing callback:
I captured the GstClockID of the pipeline in streaming-server using,
id=gst_clock_new_periodic_id(media->media->pipeline->clock,start_time,interval);
And then setted up the asynchronous callback using the following.
gst_clock_id_wait_async(id,(GstClockCallback *)TickCallback,"Tick
sending");*
but evenif i "stopped" or "paused" the client side player , i am
getting the callback " TickCallback" in the server side on specified
intervals!!!!!!!
I setted up these settings in
*gst-rtsp-server/gst/rtsp-server/rtsp-client.c* ...inside the
*handle_play()* function.
But for checking the issue i am attaching an example clock.c here
which has been compiled with ,
gcc -lpthread -Wall $(pkg-config --cflags --libs gstreamer-0.10) clock.c
and run with ./a.out video.mp4 (mp4 conatins mpeg4 video and aac audio)
if the choice you entered is "1" , the pipeline will moves to "PAUSE" state.But
even if the pipeline is in PAUSED state or output window for video is closed,i
am getting the callback message "Inside callback function TickCallback" in
regular intervals of 9 seconds.And whatever be the "start time" i specified
with id, getting many number of callbacks initially!!!
--
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