summaryrefslogtreecommitdiff
path: root/src/libw32dll
diff options
context:
space:
mode:
Diffstat (limited to 'src/libw32dll')
-rw-r--r--src/libw32dll/qt_decoder.c6
-rw-r--r--src/libw32dll/w32codec.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c
index 8aa088866..3d505d923 100644
--- a/src/libw32dll/qt_decoder.c
+++ b/src/libw32dll/qt_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: qt_decoder.c,v 1.17 2003/03/09 12:19:13 mroi Exp $
+ * $Id: qt_decoder.c,v 1.18 2003/04/04 19:20:51 miguelfreitas Exp $
*
* quicktime video/audio decoder plugin, using win32 dlls
* most of this code comes directly from MPlayer
@@ -242,6 +242,8 @@ static void qta_init_driver (qta_decoder_t *this, buf_element_t *buf) {
if (this->qtml_dll == NULL ) {
printf ("qt_audio: failed to load dll\n" );
pthread_mutex_unlock(&win32_codec_mutex);
+ xine_message(this->stream, XINE_MSG_LIBRARY_LOAD_ERROR,
+ "qtmlClient.dll", NULL);
return;
}
@@ -815,6 +817,8 @@ static void qtv_init_driver (qtv_decoder_t *this, buf_element_t *buf) {
if (this->qtml_dll == NULL ) {
printf ("qt_video: failed to load dll\n" );
pthread_mutex_unlock(&win32_codec_mutex);
+ xine_message(this->stream, XINE_MSG_LIBRARY_LOAD_ERROR,
+ "qtmlClient.dll", NULL);
return;
}
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index b49820e71..8ae300c50 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.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: w32codec.c,v 1.120 2003/03/18 20:40:59 jstembridge Exp $
+ * $Id: w32codec.c,v 1.121 2003/04/04 19:20:52 miguelfreitas Exp $
*
* routines for using w32 codecs
* DirectShow support by Miguel Freitas (Nov/2001)
@@ -729,6 +729,8 @@ static void w32v_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
"w32codec: decoder failed to start. Is '%s' installed?\n",
win32_codec_name );
this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 0;
+ xine_message(this->stream, XINE_MSG_LIBRARY_LOAD_ERROR,
+ win32_codec_name, NULL);
}
pthread_mutex_unlock(&win32_codec_mutex);