diff options
author | Johns <johns98@gmx.net> | 2011-12-10 00:15:38 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2011-12-10 00:15:38 +0100 |
commit | 749b0d672142c685556fa9f3788bff732920460b (patch) | |
tree | cff47acb11c9bd55688790ba4904d8845d6eddeb /codec.c | |
parent | e1d8609143bc661b9ad84c91abb815ca0e9f9e36 (diff) | |
download | vdr-plugin-softhddevice-749b0d672142c685556fa9f3788bff732920460b.tar.gz vdr-plugin-softhddevice-749b0d672142c685556fa9f3788bff732920460b.tar.bz2 |
Video enhancements.
Pass PTS to video codec.
Flush audio buffer on channel change.
Sync audio + video stream.
Add workaround for Intel VA-API driver that forgets OSD position/size.
Diffstat (limited to 'codec.c')
-rw-r--r-- | codec.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -520,6 +520,10 @@ void CodecAudioOpen(AudioDecoder * audio_decoder, const char *name, av_parser_init(audio_decoder->AudioCtx->codec_id))) { Fatal(_("codec: can't init audio parser\n")); } + audio_decoder->SampleRate = 0; + audio_decoder->Channels = 0; + audio_decoder->HwSampleRate = 0; + audio_decoder->HwChannels = 0; } /** |