Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: trunk/src/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc

Issue 296483012: Revert 271945 "Roll FFmpeg for M37." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/media/filters/ffmpeg_demuxer.cc ('k') | trunk/src/media/filters/ffmpeg_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc
===================================================================
--- trunk/src/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc (revision 271953)
+++ trunk/src/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc (working copy)
@@ -54,7 +54,13 @@
// This is a bit tricky: since the interface does not allow us to replace
// the pointer of the old packet with a new one, we will initially copy the
// metadata from old packet to new bigger packet.
- av_packet_copy_props(&dest_packet, packet);
+ dest_packet.pts = packet->pts;
+ dest_packet.dts = packet->dts;
+ dest_packet.pos = packet->pos;
+ dest_packet.duration = packet->duration;
+ dest_packet.convergence_duration = packet->convergence_duration;
+ dest_packet.flags = packet->flags;
+ dest_packet.stream_index = packet->stream_index;
// Proceed with the conversion of the actual in-band NAL units, leave room
// for configuration in the beginning.
« no previous file with comments | « trunk/src/media/filters/ffmpeg_demuxer.cc ('k') | trunk/src/media/filters/ffmpeg_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698