projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23996ad
)
theoraenc: Remove unneeded check
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 9 Jun 2014 08:53:03 +0000
(10:53 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 9 Jun 2014 08:53:03 +0000
(10:53 +0200)
running timestamps are guaranteed to be positive and valid since the
GstVideoEncoder base class will clip incoming buffers
CID #1139797
ext/theora/gsttheoraenc.c
patch
|
blob
|
history
diff --git
a/ext/theora/gsttheoraenc.c
b/ext/theora/gsttheoraenc.c
index
48b3533
..
126c5e3
100644
(file)
--- a/
ext/theora/gsttheoraenc.c
+++ b/
ext/theora/gsttheoraenc.c
@@
-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) {