summaryrefslogtreecommitdiff
path: root/src/libw32dll/qt_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-04-04 19:20:46 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-04-04 19:20:46 +0000
commitfdf8666254e5a0feee085d87e6703bf3ddbecdb8 (patch)
treea5b9bc2bbaa6f148e62c571f3f2489db1cf9e3a8 /src/libw32dll/qt_decoder.c
parent3b564751a145788cfe48a1be3b4ceafdb9150df6 (diff)
downloadxine-lib-fdf8666254e5a0feee085d87e6703bf3ddbecdb8.tar.gz
xine-lib-fdf8666254e5a0feee085d87e6703bf3ddbecdb8.tar.bz2
add initial async error/general message reporting to frontend
obs: more messages should be added CVS patchset: 4539 CVS date: 2003/04/04 19:20:46
Diffstat (limited to 'src/libw32dll/qt_decoder.c')
-rw-r--r--src/libw32dll/qt_decoder.c6
1 files changed, 5 insertions, 1 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;
}