summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-01-21 01:27:56 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-25 03:15:18 +0200
commit69fdb30400cd67922cfb612ed33403f4f91b3d03 (patch)
treeb19537a204a08af51298bded433aab65e7a28a59 /mplayer.c
parent83f37b54dedcfdb07684010571137697b3955b09 (diff)
downloadmpv-69fdb30400cd67922cfb612ed33403f4f91b3d03.tar.bz2
mpv-69fdb30400cd67922cfb612ed33403f4f91b3d03.tar.xz
mp_msg: Remove uses of MSGT_MENCODER
Some of the code that could run outside MEcoder used MSGT_MENCODER. Replace those with appropriate MSGT_ types.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 858026f545..e5c9019ccc 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4114,7 +4114,7 @@ if(stream_dump_type==5){
len=stream_read(mpctx->stream,buf,4096);
if(len>0) {
if(fwrite(buf,len,1,f) != 1) {
- mp_tmsg(MSGT_MENCODER,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
+ mp_tmsg(MSGT_GLOBAL,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
exit_player(mpctx, EXIT_ERROR);
}
}
@@ -4127,7 +4127,7 @@ if(stream_dump_type==5){
}
}
if(fclose(f)) {
- mp_tmsg(MSGT_MENCODER,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
+ mp_tmsg(MSGT_GLOBAL,MSGL_FATAL,"%s: Error writing file.\n",opts->stream_dump_name);
exit_player(mpctx, EXIT_ERROR);
}
mp_tmsg(MSGT_CPLAYER,MSGL_INFO,"Core dumped ;)\n");