FS-7500: add SFF_USE_VIDEO_TIMESTAMP to tell video write frame if it needs to use a timer or not for timestamps

This commit is contained in:
Anthony Minessale
2014-11-18 17:36:55 -06:00
parent 4752c76b8b
commit 87c3b919aa
4 changed files with 18 additions and 11 deletions
+3 -1
View File
@@ -553,7 +553,9 @@ end:
switch_set_flag(frame, SFF_WAIT_KEY_FRAME);
}
if (!frame->img) {
if (frame->img) {
switch_set_flag(frame, SFF_USE_VIDEO_TIMESTAMP);
} else {
status = SWITCH_STATUS_MORE_DATA;
}