Commit d1877b0b authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

schroenc: set buffer offset to buffer timestamp

oggmux expects this to order incoming buffers
parent 2e9e8b5c
......@@ -690,6 +690,10 @@ gst_schro_enc_pre_push (GstVideoEncoder * base_video_encoder,
GST_BUFFER_OFFSET (buf) = gst_util_uint64_scale (schro_enc->last_granulepos,
GST_SECOND * schro_enc->video_format->frame_rate_denominator,
return GST_FLOW_OK;
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