Mercurial > mplayer.hg
view gui/mplayer/gtk/fs.h @ 23978:ef6e50c3c172
Revert setting audio output channel count for FFmpeg
The FFmpeg API needs to be fixed before this can be done sanely.
ffdca wants the desired output channel count to be set in
avctx->channels. Unfortunately it also completely fails if the requested
number of channels is not available rather than returning a different
amount (if 6 channels are requested we'd probably rather use stereo than
fail completely).
ffvorbis ignores caller-set values in avctx->channels. It writes the
channel count there once during init. This means the caller can only
set the count before init because later there would be no indication
whether the channel count in avctx reflects real output.
ffwma requires the caller to supply the encoded channel count
in avctx->channels during init or it fails. So it is not possible to
set a different number of desired output channels there before init
either.
author | uau |
---|---|
date | Thu, 02 Aug 2007 21:54:14 +0000 (2007-08-02) |
parents | 3f0d00abc073 |
children | 3baf6a2283da |
line wrap: on
line source
#ifndef GUI_FS_H #define GUI_FS_H #include <gtk/gtk.h> #define fsVideoSelector 0 #define fsSubtitleSelector 1 #define fsOtherSelector 2 #define fsAudioSelector 3 #define fsFontSelector 4 #include <errno.h> extern GtkWidget * fsFileSelect; extern void HideFileSelect( void ); extern void ShowFileSelect( int type, int modal ); extern GtkWidget * create_FileSelect( void ); #endif