mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
[MOVED FROM GST-P-FARSIGHT] Oops, set to no preroll when playing->paused too
20070917042649-3e2dc-94adb6aa0617e815a6e233232dabb4bbc48dc82c.gz
This commit is contained in:
parent
b55bec0a96
commit
292816f5cc
2 changed files with 6 additions and 0 deletions
|
@ -829,6 +829,9 @@ gst_dtmf_src_change_state (GstElement * element, GstStateChange transition)
|
|||
goto failure;
|
||||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
|
||||
no_preroll = TRUE;
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
GST_DEBUG_OBJECT (dtmfsrc, "Flushing event queue");
|
||||
/* Flushing the event queue */
|
||||
|
|
|
@ -1007,6 +1007,9 @@ gst_rtp_dtmf_src_change_state (GstElement * element, GstStateChange transition)
|
|||
goto failure;
|
||||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
|
||||
no_preroll = TRUE;
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
|
||||
/* Flushing the event queue */
|
||||
|
|
Loading…
Reference in a new issue