From 1632fa30f517c25e419201d3402e216abc7c51ca Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Fri, 16 Jan 2009 13:37:07 +0000 Subject: Add some comment... --- src/libvdpau/vdpau_h264.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index 95e3ff018..bdbe713a7 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -661,6 +661,11 @@ static void vdpau_h264_reset (video_decoder_t *this_gen) { this->nal_parser = init_parser(); if(this->codec_private_len > 0) { parse_codec_private(this->nal_parser, this->codec_private, this->codec_private_len); + + /* if the stream does not contain frame boundary marks we + * have to hope that the next nal will start with the next + * incoming buf... seems to work, though... + */ this->wait_for_frame_start = this->have_frame_boundary_marks; } -- cgit v1.2.3