summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2015-04-03 08:40:43 +0200
committerThomas Reufer <thomas@reufer.ch>2015-04-03 08:40:43 +0200
commita9ebdad06ae4238465698746a9fd3e27b87d2033 (patch)
treee1d9838bb785c8d535d88ac83befd8618283cb1e
parent3c81fa593f954ff87325e2d059556a5bfbf00c78 (diff)
downloadvdr-plugin-rpihddevice-a9ebdad06ae4238465698746a9fd3e27b87d2033.tar.gz
vdr-plugin-rpihddevice-a9ebdad06ae4238465698746a9fd3e27b87d2033.tar.bz2
don't flush audio render after frame decoding error
-rw-r--r--audio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio.c b/audio.c
index 882ba43..d9bf67a 100644
--- a/audio.c
+++ b/audio.c
@@ -1381,7 +1381,8 @@ void cRpiAudioDecoder::Action(void)
else
{
ELOG("failed to decode audio frame!");
- m_reset = true;
+ m_parser->Reset();
+ av_frame_unref(frame);
continue;
}
}