diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-01-21 01:27:56 +0100 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-25 03:15:18 +0200 |
commit | 69fdb30400cd67922cfb612ed33403f4f91b3d03 (patch) | |
tree | b19537a204a08af51298bded433aab65e7a28a59 /mplayer.c | |
parent | 83f37b54dedcfdb07684010571137697b3955b09 (diff) | |
download | mpv-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |