Skip to content
Snippets Groups Projects
Commit 92e354b6 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

rtpdec_vp8: Set the timestamp when returning a deferred packet

parent ba8cb332
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,7 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, ...@@ -79,6 +79,7 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8,
int ret = ff_rtp_finalize_packet(pkt, &vp8->data, st->index); int ret = ff_rtp_finalize_packet(pkt, &vp8->data, st->index);
if (ret < 0) if (ret < 0)
return ret; return ret;
*timestamp = vp8->timestamp;
return 0; return 0;
} }
return AVERROR(EAGAIN); return AVERROR(EAGAIN);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment