efl/emotion: unbreak xine

subtitles virtuals got in the middle and screwed everything.

also prepare the log infra for the next commit.



SVN revision: 82506
This commit is contained in:
Gustavo Sverzut Barbieri 2013-01-10 05:28:37 +00:00
parent f80eef8806
commit 83a8742d4e
2 changed files with 37 additions and 1 deletions

View File

@ -908,6 +908,20 @@ em_video_channel_get(void *ef)
return xine_get_param(ev->stream, XINE_PARAM_VIDEO_CHANNEL);
}
static void
em_video_subtitle_file_set(void *video EINA_UNUSED,
const char *filepath EINA_UNUSED)
{
DBG("video_subtitle_file_set not implemented for xine yet.");
}
static const char *
em_video_subtitle_file_get(void *video EINA_UNUSED)
{
DBG("video_subtitle_file_get not implemented for xine yet.");
return NULL;
}
static const char *
em_video_channel_name_get(void *ef EINA_UNUSED, int channel EINA_UNUSED)
{
@ -1554,6 +1568,8 @@ static Emotion_Video_Module em_module =
em_video_channel_count, /* video_channel_count */
em_video_channel_set, /* video_channel_set */
em_video_channel_get, /* video_channel_get */
em_video_subtitle_file_set, /* video_subtitle_file_set */
em_video_subtitle_file_get, /* video_subtitle_file_get */
em_video_channel_name_get, /* video_channel_name_get */
em_video_channel_mute_set, /* video_channel_mute_set */
em_video_channel_mute_get, /* video_channel_mute_get */

View File

@ -88,11 +88,31 @@ struct _Emotion_Xine_Event
int mtype;
};
extern int _emotion_xine_log_domain;
#ifdef DBG
#undef DBG
#endif
#define DBG(...) EINA_LOG_DOM_DBG(_emotion_xine_log_domain, __VA_ARGS__)
#ifdef INF
#undef INF
#endif
#define INF(...) EINA_LOG_DOM_INFO(_emotion_xine_log_domain, __VA_ARGS__)
#ifdef WRN
#undef WRN
#endif
#define WRN(...) EINA_LOG_DOM_WARN(_emotion_xine_log_domain, __VA_ARGS__)
#ifdef ERR
#undef ERR
#endif
#define ERR(...) EINA_LOG_DOM_ERR(_emotion_xine_log_domain, __VA_ARGS__)
#ifdef CRITICAL
#undef CRITICAL
#endif
#define CRITICAL(...) EINA_LOG_DOM_CRIT(_emotion_xine_log_domain, __VA_ARGS__)
extern int _emotion_xine_log_domain;
#endif