summaryrefslogtreecommitdiff
path: root/src/libreal/xine_decoder.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2004-09-21 14:23:20 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2004-09-21 14:23:20 +0000
commit994bfada1f38203912b44ad1348857f742459fad (patch)
tree54527e8f923fe8d1bf6bfb4e5339b8ff068d9d23 /src/libreal/xine_decoder.c
parentd07b74f7272f2e8964a32448b9b5983d851dca16 (diff)
downloadxine-lib-994bfada1f38203912b44ad1348857f742459fad.tar.gz
xine-lib-994bfada1f38203912b44ad1348857f742459fad.tar.bz2
- Set the Codec name meta info even if we can't load the libraries, otherwise
we can't tell the user which codec isn't working (Gnome BZ 151662) CVS patchset: 6985 CVS date: 2004/09/21 14:23:20
Diffstat (limited to 'src/libreal/xine_decoder.c')
-rw-r--r--src/libreal/xine_decoder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c
index 6d34407c2..6528b4e6f 100644
--- a/src/libreal/xine_decoder.c
+++ b/src/libreal/xine_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: xine_decoder.c,v 1.72 2004/07/25 17:44:11 mroi Exp $
+ * $Id: xine_decoder.c,v 1.73 2004/09/21 14:23:20 hadess Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -153,19 +153,19 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) {
switch (buf->type) {
case BUF_VIDEO_RV20:
+ _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 2.0");
if (!load_syms_linux (this, "drv2.so.6.0"))
return 0;
- _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 2.0");
break;
case BUF_VIDEO_RV30:
+ _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 3.0");
if (!load_syms_linux (this, "drv3.so.6.0"))
return 0;
- _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 3.0");
break;
case BUF_VIDEO_RV40:
+ _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 4.0");
if (!load_syms_linux(this, "drv4.so.6.0"))
return 0;
- _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 4.0");
break;
default:
xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG,