summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2004-02-07 18:38:21 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2004-02-07 18:38:21 +0000
commit383ed4f4498adf43a8a3589248116a17b34f1afd (patch)
tree05ad89df40f1b1483809b68b81522e8ddee54bab /src
parent6e720988016a766055762cc9f1d97bcf06940444 (diff)
downloadxine-lib-383ed4f4498adf43a8a3589248116a17b34f1afd.tar.gz
xine-lib-383ed4f4498adf43a8a3589248116a17b34f1afd.tar.bz2
better error handling if codec can't be found
CVS patchset: 6122 CVS date: 2004/02/07 18:38:21
Diffstat (limited to 'src')
-rw-r--r--src/libffmpeg/audio_decoder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libffmpeg/audio_decoder.c b/src/libffmpeg/audio_decoder.c
index 14be0c0f7..eddacdd46 100644
--- a/src/libffmpeg/audio_decoder.c
+++ b/src/libffmpeg/audio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_decoder.c,v 1.3 2004/02/03 04:27:18 tmmm Exp $
+ * $Id: audio_decoder.c,v 1.4 2004/02/07 18:38:21 jstembridge Exp $
*
* xine audio decoder plugin using ffmpeg
*
@@ -130,8 +130,9 @@ static void ff_audio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf)
if (!this->codec) {
xprintf (this->stream->xine, XINE_VERBOSITY_LOG,
- _("ffmpeg_audio_dec: couldn't find/open ffmpeg decoder for buf type 0x%X\n"),
+ _("ffmpeg_audio_dec: couldn't find ffmpeg decoder for buf type 0x%X\n"),
codec_type);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0);
return;
}