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

Unified Diff: services/media/framework_ffmpeg/ffmpeg_video_decoder.cc

Issue 1814553002: Motown: Improvements to packet definition (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added a comment. Created 4 years, 9 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
Index: services/media/framework_ffmpeg/ffmpeg_video_decoder.cc
diff --git a/services/media/framework_ffmpeg/ffmpeg_video_decoder.cc b/services/media/framework_ffmpeg/ffmpeg_video_decoder.cc
index 8e84fb6b615756d404a8291e9ff2e32d3c465689..73fe12ef6cd7666ed4895cbb3c3567236df55cfd 100644
--- a/services/media/framework_ffmpeg/ffmpeg_video_decoder.cc
+++ b/services/media/framework_ffmpeg/ffmpeg_video_decoder.cc
@@ -17,7 +17,7 @@ FfmpegVideoDecoder::~FfmpegVideoDecoder() {}
int FfmpegVideoDecoder::Decode(
const AVPacket& av_packet,
- const AvFramePtr& av_frame_ptr,
+ const ffmpeg::AvFramePtr& av_frame_ptr,
PayloadAllocator* allocator,
bool* frame_decoded_out) {
DCHECK(av_frame_ptr);
@@ -45,7 +45,6 @@ PacketPtr FfmpegVideoDecoder::CreateOutputPacket(
// TODO(dalesat): This is just a copy of the audio version.
return Packet::Create(
av_frame.pts,
- av_frame.pkt_duration,
false,
packet_size_,
av_frame.data[0],
« no previous file with comments | « services/media/framework_ffmpeg/ffmpeg_video_decoder.h ('k') | services/media/framework_mojo/mojo_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698