summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-28 20:16:11 +0100
committerwm4 <wm4@nowhere>2013-03-28 21:46:17 +0100
commit3374a43998f183b585640de0a588db2431ed87ae (patch)
treecaa863740ad976d735c4b874e87f260c126f01f8 /video/decode/dec_video.h
parentac1c5e6e18afc5043fa078803ef465bb4017c07a (diff)
downloadmpv-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.h3
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);