annotate loader/debug.h @ 35171:75e4ee082dd2

mp_property_deinterlace: Improve OSD feedback Do not show wrong OSD if setting of property deinterlace fails or is not supported by current video chain. This was particularly misleading because if you e.g. were using mplayer without a deinterlacing filter and your vo didn't have deinterlacing support. The OSD output of the property would appear like it got stuck at "enabled". Patch by Vicente Sendra >visenri yahoo.es< with a few changes by me.
author al
date Sun, 21 Oct 2012 19:01:48 +0000
parents a8ea87c71d18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_DEBUG_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_DEBUG_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
3
21261
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
4 #ifdef DEBUG
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
5 #define TRACE printf
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
6 #define dbg_printf printf
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
7 #else
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
8 #define TRACE(...)
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
9 #define dbg_printf(...)
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
10 #endif
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
11
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
12 #endif /* MPLAYER_DEBUG_H */