diff options
author | wm4 <wm4@nowhere> | 2013-03-28 20:16:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-28 21:46:17 +0100 |
commit | 3374a43998f183b585640de0a588db2431ed87ae (patch) | |
tree | caa863740ad976d735c4b874e87f260c126f01f8 /video/decode/dec_video.h | |
parent | ac1c5e6e18afc5043fa078803ef465bb4017c07a (diff) | |
download | mpv-3374a43998f183b585640de0a588db2431ed87ae.tar.bz2 mpv-3374a43998f183b585640de0a588db2431ed87ae.tar.xz |
core: always pass data via packet fields to video decoders
Makes the code a bit simpler to follow, at least in the "modern"
decoding path (update_video_nocorrect_pts() is used with old demuxers,
which don't return proper packets and need further parsing, so this code
looks less simple now).
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r-- | video/decode/dec_video.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index b6b85e86f6..94bd2bce3a 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -31,8 +31,7 @@ void uninit_video(sh_video_t *sh_video); struct demux_packet; void *decode_video(sh_video_t *sh_video, struct demux_packet *packet, - unsigned char *start, int in_size, int drop_frame, - double pts); + int drop_frame, double pts); int get_video_quality_max(sh_video_t *sh_video); |