mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
qos: _qos_full -> _qos
This commit is contained in:
parent
816f4e791d
commit
bdb4676455
3 changed files with 6 additions and 4 deletions
|
@ -544,7 +544,7 @@ gst_visual_src_event (GstPad * pad, GstEvent * event)
|
||||||
GstClockTimeDiff diff;
|
GstClockTimeDiff diff;
|
||||||
GstClockTime timestamp;
|
GstClockTime timestamp;
|
||||||
|
|
||||||
gst_event_parse_qos (event, &proportion, &diff, ×tamp);
|
gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp);
|
||||||
|
|
||||||
/* save stuff for the _chain function */
|
/* save stuff for the _chain function */
|
||||||
GST_OBJECT_LOCK (visual);
|
GST_OBJECT_LOCK (visual);
|
||||||
|
|
|
@ -574,7 +574,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
|
||||||
GstClockTimeDiff diff;
|
GstClockTimeDiff diff;
|
||||||
GstClockTime timestamp;
|
GstClockTime timestamp;
|
||||||
|
|
||||||
gst_event_parse_qos (event, &proportion, &diff, ×tamp);
|
gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp);
|
||||||
|
|
||||||
/* we cannot randomly skip frame decoding since we don't have
|
/* we cannot randomly skip frame decoding since we don't have
|
||||||
* B frames. we can however use the timestamp and diff to not
|
* B frames. we can however use the timestamp and diff to not
|
||||||
|
|
|
@ -211,7 +211,7 @@ gst_stream_synchronizer_src_event (GstPad * pad, GstEvent * event)
|
||||||
gint64 running_time_diff;
|
gint64 running_time_diff;
|
||||||
GstStream *stream;
|
GstStream *stream;
|
||||||
|
|
||||||
gst_event_parse_qos (event, &proportion, &diff, ×tamp);
|
gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp);
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
|
|
||||||
GST_STREAM_SYNCHRONIZER_LOCK (self);
|
GST_STREAM_SYNCHRONIZER_LOCK (self);
|
||||||
|
@ -245,7 +245,9 @@ gst_stream_synchronizer_src_event (GstPad * pad, GstEvent * event)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
event = gst_event_new_qos (proportion, diff, timestamp);
|
event =
|
||||||
|
gst_event_new_qos (GST_QOS_TYPE_UNDERFLOW, proportion, diff,
|
||||||
|
timestamp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue