- 27 Jul, 2013 2 commits
-
-
Wills Wang authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Rémi Denis-Courmont authored
This is the _VLC_ source code.
-
- 26 Jul, 2013 9 commits
-
-
Rémi Denis-Courmont authored
The buffer from decoder_NewAudioBuffer() was only used if the audio output format was planar. Now it is allocated only in that case. This also remove leaks when decoder_NewAudioBuffer() failed.
-
Rémi Duraffort authored
Fix cid #1048854
-
Rémi Duraffort authored
-
Rémi Duraffort authored
In case of a wrongly formated file, the strings where never dealocated. Same if some strings where empty.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This has two benefits: - allow zero copy in audio decoders, - allow negotiation of the output formats (potentially for S/PDIF).
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Martin Storsjö authored
This makes the android vout work on Android 4.3. This API is available since Android 2.3/Gingerbread (api level 9). It's a public, official API, contrary to the earlier hacking by accessing the internal C++ Surface class directly. In most cases, the ANativeWindow API is a very thin wrapper doing pretty much the same as the existing Surface class entry points we've been using. In Android 4.3, the C++ Surface class lock function we've been using was renamed again, but using the new corresponding function as we've done before doesn't work any longer. Therefore, use the public API where possible (loading it dynamically, to not break compatibility with pre-2.3 devices). The only non-public API used in the vout is now the YV12 pixel format, which doesn't work on all devices. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 25 Jul, 2013 9 commits
-
-
Rafaël Carré authored
Fixes #8760
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
The ALSA channels maps only indicate the order(s) of channels supported by the audio adapter. They do not imply that all channels are actually physically wired.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rafaël Carré authored
-
Rafaël Carré authored
-
- 24 Jul, 2013 20 commits
-
-
Jean-Baptiste Kempf authored
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
The original code was non-working because the notication was never setup correctly and resulted in a DSERR_INVALIDCALL. A proper fix would look like: if( sys->p_notify ) { + IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer ); DSBPOSITIONNOTIFY notif = {.dwOffset = aout->sys->i_write, .hEventNotify = sys->hnotify_evt } ; if( IDirectSoundNotify_SetNotificationPositions( sys->p_notify, 1, ¬if ) == DS_OK ) { + IDirectSoundBuffer_Play( aout->sys->p_dsbuffer, 0, 0, DSBPLAY_LOOPING ); WaitForSingleObject( sys->hnotify_evt, INFINITE ); IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer ); } But fixing it makes the problem worse since the notification is setup too late and thus the buffer will replay a full loop of the back buffer during a drain. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Sebastien Zwickert authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Rémi Denis-Courmont authored
With the reference counting stuff, the AVFrame structure is gone or unreachable by the time the release function is called.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This will simplify later commits.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This can happen in some corner cases such as flushing (luckily the leak would automatically be resolved when the device instance is released).
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This reenables direct rendering with libavcodec in most cases.
-
Rémi Denis-Courmont authored
-