Revert "Add flag to obs_source_frame for unbuffered video"

This reverts commit c3f4b0f018.

The obs_source_frame should not need to take flags to do this.  This
shouldn't be a setting associated with the frame, but rather a setting
associated with the source itself.  This was the wrong approach to
solving this particular problem.
This commit is contained in:
jp9000
2014-10-23 07:27:04 -07:00
parent ae0f6b5e3f
commit db81c59b5e
6 changed files with 1 additions and 20 deletions

View File

@@ -377,7 +377,6 @@ void DShowInput::OnEncodedVideoData(enum AVCodecID id,
if (got_output) {
frame.timestamp = (uint64_t)ts * 100;
frame.flags = 0;
#if LOG_ENCODED_VIDEO_TS
blog(LOG_DEBUG, "video ts: %llu", frame.timestamp);
#endif
@@ -398,7 +397,6 @@ void DShowInput::OnVideoData(const VideoConfig &config,
const int cy = config.cy;
frame.timestamp = (uint64_t)startTime * 100;
frame.flags = 0;
frame.width = config.cx;
frame.height = config.cy;
frame.format = ConvertVideoFormat(config.format);