mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
basesrc: add some more debug
This commit is contained in:
parent
309d78770c
commit
4c990aab3a
1 changed files with 2 additions and 0 deletions
|
@ -1465,6 +1465,7 @@ gst_base_src_send_event (GstElement * element, GstEvent * event)
|
||||||
GST_OBJECT_UNLOCK (src->srcpad);
|
GST_OBJECT_UNLOCK (src->srcpad);
|
||||||
|
|
||||||
if (started) {
|
if (started) {
|
||||||
|
GST_DEBUG_OBJECT (src, "performing seek");
|
||||||
/* when we are running in push mode, we can execute the
|
/* when we are running in push mode, we can execute the
|
||||||
* seek right now, we need to unlock. */
|
* seek right now, we need to unlock. */
|
||||||
result = gst_base_src_perform_seek (src, event, TRUE);
|
result = gst_base_src_perform_seek (src, event, TRUE);
|
||||||
|
@ -1474,6 +1475,7 @@ gst_base_src_send_event (GstElement * element, GstEvent * event)
|
||||||
/* else we store the event and execute the seek when we
|
/* else we store the event and execute the seek when we
|
||||||
* get activated */
|
* get activated */
|
||||||
GST_OBJECT_LOCK (src);
|
GST_OBJECT_LOCK (src);
|
||||||
|
GST_DEBUG_OBJECT (src, "queueing seek");
|
||||||
event_p = &src->data.ABI.pending_seek;
|
event_p = &src->data.ABI.pending_seek;
|
||||||
gst_event_replace ((GstEvent **) event_p, event);
|
gst_event_replace ((GstEvent **) event_p, event);
|
||||||
GST_OBJECT_UNLOCK (src);
|
GST_OBJECT_UNLOCK (src);
|
||||||
|
|
Loading…
Reference in a new issue