mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Limited 'Fixed stuttering or asynchronous audio after changing the audio track' to TS recordings to avoid a segfault
This commit is contained in:
		
							
								
								
									
										4
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -7665,7 +7665,9 @@ Video Disk Recorder Revision History | |||||||
| - Fixed flashing OSD in "high level OSD" mode of the TT S2-6400 in case a menu is open | - Fixed flashing OSD in "high level OSD" mode of the TT S2-6400 in case a menu is open | ||||||
|   while subtitles are being displayed. |   while subtitles are being displayed. | ||||||
| - Fixed stuttering or asynchronous audio after changing the audio track. This is done | - Fixed stuttering or asynchronous audio after changing the audio track. This is done | ||||||
|   by doing a "jump" to the current position, which clears all buffers. |   by doing a "jump" to the current position, which clears all buffers. However, this | ||||||
|  |   only works with TS recordings. With PES recordings it causes a segfault - haven't | ||||||
|  |   been able to figure out why. | ||||||
| - Added a manual page for 'svdrpsend' (thanks to Tobias Grimm). | - Added a manual page for 'svdrpsend' (thanks to Tobias Grimm). | ||||||
| - Fixed immediately disappearing subtitle track menu in "high level OSD" mode of the | - Fixed immediately disappearing subtitle track menu in "high level OSD" mode of the | ||||||
|   TT S2-6400 when selecting "No subtitles". |   TT S2-6400 when selecting "No subtitles". | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ | |||||||
|  * See the main source file 'vdr.c' for copyright information and |  * See the main source file 'vdr.c' for copyright information and | ||||||
|  * how to reach the author. |  * how to reach the author. | ||||||
|  * |  * | ||||||
|  * $Id: dvbplayer.c 2.31 2013/02/20 09:03:49 kls Exp $ |  * $Id: dvbplayer.c 2.32 2013/02/25 12:15:58 kls Exp $ | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include "dvbplayer.h" | #include "dvbplayer.h" | ||||||
| @@ -810,6 +810,8 @@ void cDvbPlayer::Goto(int Index, bool Still) | |||||||
|  |  | ||||||
| void cDvbPlayer::SetAudioTrack(eTrackType Type, const tTrackId *TrackId) | void cDvbPlayer::SetAudioTrack(eTrackType Type, const tTrackId *TrackId) | ||||||
| { | { | ||||||
|  |   if (isPesRecording) | ||||||
|  |      return; // for some unknown reason this doesn't work with PES recordings - causes a segfault | ||||||
|   if (playMode == pmPlay) { |   if (playMode == pmPlay) { | ||||||
|      int Current, Total; |      int Current, Total; | ||||||
|      if (GetIndex(Current, Total, true)) |      if (GetIndex(Current, Total, true)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user