diff options
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |