Commit a5d1e69c authored by Ilkka Ollakka's avatar Ilkka Ollakka

transcode: add some comments

parent 01e03b9a
......@@ -71,6 +71,7 @@ struct sout_stream_sys_t
/* Sync */
bool b_master_sync;
/* i_master drift is how much audio buffer is ahead of calculated pts */
mtime_t i_master_drift;
};
......
......@@ -894,7 +894,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
/* This is the pts input should have now with constant frame rate */
mtime_t i_pts = date_Get( &id->interpolated_pts );
/* How much input pts has drifted */
/* How much video pts is ahead of calculated pts */
mtime_t i_video_drift = p_pic->date - i_pts;
/* Check that we are having lipsync with input here */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment