From f09b2ff661040828e2b17fad89613f7706b10e7d Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 27 Nov 2013 20:54:07 +0100 Subject: cosmetics: rename video/audio reset functions These used the suffix _resync_stream, which is a bit misleading. Nothing gets "resynchronized", they really just reset state. (Some audio decoders actually used to "resync" by reading packets for resuming playback, but that's not the case anymore.) Also move the function in dec_video.c to the top of the file. --- video/decode/dec_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode/dec_video.h') diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index a9c64cb695..cb4724af33 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -77,7 +77,7 @@ struct mp_image *video_decode(struct dec_video *d_video, int video_get_colors(struct dec_video *d_video, const char *item, int *value); int video_set_colors(struct dec_video *d_video, const char *item, int value); -void video_resync_stream(struct dec_video *d_video); +void video_reset_decoding(struct dec_video *d_video); void video_reinit_vo(struct dec_video *d_video); int video_vd_control(struct dec_video *d_video, int cmd, void *arg); -- cgit v1.2.3