mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
theoraenc: Remove unneeded check
running timestamps are guaranteed to be positive and valid since the GstVideoEncoder base class will clip incoming buffers CID #1139797
This commit is contained in:
parent
23996adf5c
commit
8810ada4cd
1 changed files with 0 additions and 2 deletions
|
@ -886,8 +886,6 @@ theora_enc_handle_frame (GstVideoEncoder * benc, GstVideoCodecFrame * frame)
|
|||
running_time =
|
||||
gst_segment_to_running_time (&GST_VIDEO_ENCODER_INPUT_SEGMENT (enc),
|
||||
GST_FORMAT_TIME, timestamp);
|
||||
g_return_val_if_fail (running_time >= 0 || timestamp == GST_CLOCK_TIME_NONE,
|
||||
GST_FLOW_ERROR);
|
||||
|
||||
GST_OBJECT_LOCK (enc);
|
||||
if (enc->bitrate_changed) {
|
||||
|
|
Loading…
Reference in a new issue