You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
rtpdec_vp8: Set the timestamp when returning a deferred packet
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user