projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ed944
)
timecodestamper: Fix typo in set_drop_frame
author
Vivia Nikolaidou
<vivia@ahiru.eu>
Mon, 3 Sep 2018 12:15:45 +0000
(15:15 +0300)
committer
Vivia Nikolaidou
<vivia@ahiru.eu>
Mon, 3 Sep 2018 12:15:45 +0000
(15:15 +0300)
Was checking if fps_d == 60000 (instead of fps_n), causing 60000/1001 to
be always falsely interpreted as non-drop-frame
gst/timecode/gsttimecodestamper.c
patch
|
blob
|
history
diff --git
a/gst/timecode/gsttimecodestamper.c
b/gst/timecode/gsttimecodestamper.c
index
b3c513c
..
31cfce2
100644
(file)
--- a/
gst/timecode/gsttimecodestamper.c
+++ b/
gst/timecode/gsttimecodestamper.c
@@
-263,7
+263,7
@@
gst_timecodestamper_set_drop_frame (GstTimeCodeStamper * timecodestamper)
{
if (timecodestamper->drop_frame && timecodestamper->vinfo.fps_d == 1001 &&
(timecodestamper->vinfo.fps_n == 30000 ||
- timecodestamper->vinfo.fps_
d
== 60000))
+ timecodestamper->vinfo.fps_
n
== 60000))
timecodestamper->current_tc->config.flags |=
GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME;
else