pesintta / vdr-plugin-vaapidevice

VDR VAAPIDevice Plug-in
9 stars 12 forks source link

Problem with mp3 plugin #116

Open jareguero opened 6 years ago

jareguero commented 6 years ago

I have a problem with the mp3 plugin. The audio is stopped. Maybe the plugin is waiting fir video.

Mar 28 17:26:38 jar8 vdr: [7018] mp3: playback started with instant playlist 01-Miriam Rodríguez _ No Te Pude Retener.mp3 Mar 28 17:26:38 jar8 vdr: [7035] VAAPI: audio/alsa: using device 'hdmi' Mar 28 17:26:38 jar8 vdr: [7035] VAAPI: audio/alsa: start delay 400ms Mar 28 17:26:38 jar8 vdr: [7039] VAAPI-ERROR: video: slow down video, duping frame Mar 28 17:26:38 jar8 vdr: [7039] VAAPI-ERROR: video: decoder buffer empty, duping frame (-943465032/-1341438688) 0 v-buf Mar 28 17:26:38 jar8 vdr: [7039] VAAPI: video: --:--:--.--- +0 0 0/\ms 0+1 v-buf Mar 28 17:26:44 jar8 vdr: [7035] VAAPI: audio/alsa: using device 'hdmi' Mar 28 17:26:44 jar8 vdr: [7035] VAAPI: audio/alsa: start delay 400ms Mar 28 17:26:44 jar8 vdr: [7018] switching to channel 173 T-8916-1012-532 (24h)

jareguero commented 6 years ago

I found the commit that make mp3 plugin don't work. It is: No soft start while replaying f604263 Reverting partially this commit, mp3 plugin work again. diff --git a/audio.c b/audio.c index e9d7288..1d6cd98 100644 --- a/audio.c +++ b/audio.c @@ -1361,8 +1361,9 @@ static int AudioNextRing(void) if (remain <= AUDIO_MIN_BUFFER_FREE) { Debug5("audio: force start"); }

9000h commented 6 years ago

why not using insert "code", you patch is not readable as it is now

jareguero commented 6 years ago

I think that it is attached now.

jareguero commented 6 years ago

I don't know if the file is attached. I can't see it.

jareguero commented 6 years ago

audio.txt Now I tink that it is attached.

ua0lnj commented 6 years ago

Hi. The patch helped me, it's works.