mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
basesrc: Don't get flow name if not needed
Put it in the debug call so it's only called when/if needed Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/455>
This commit is contained in:
parent
687c65994e
commit
c416e2457e
1 changed files with 1 additions and 2 deletions
|
@ -3022,10 +3022,9 @@ flushing:
|
|||
}
|
||||
pause:
|
||||
{
|
||||
const gchar *reason = gst_flow_get_name (ret);
|
||||
GstEvent *event;
|
||||
|
||||
GST_DEBUG_OBJECT (src, "pausing task, reason %s", reason);
|
||||
GST_DEBUG_OBJECT (src, "pausing task, reason %s", gst_flow_get_name (ret));
|
||||
src->running = FALSE;
|
||||
gst_pad_pause_task (pad);
|
||||
if (ret == GST_FLOW_EOS) {
|
||||
|
|
Loading…
Reference in a new issue