From 0863c2eefd9e314babebe4551ab81345f8bb3ecb Mon Sep 17 00:00:00 2001 From: Alam Arias Date: Thu, 14 Jun 2012 12:37:46 -0400 Subject: [PATCH] gsteamer: #if 0 to block out unused tsmf_gstream_start_eventloop_thread() and tsmf_gstream_Eventloop_thread_finc() --- channels/drdynvc/tsmf/gstreamer/tsmf_gstreamer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/channels/drdynvc/tsmf/gstreamer/tsmf_gstreamer.c b/channels/drdynvc/tsmf/gstreamer/tsmf_gstreamer.c index eba53fc94..bb0f9ad62 100644 --- a/channels/drdynvc/tsmf/gstreamer/tsmf_gstreamer.c +++ b/channels/drdynvc/tsmf/gstreamer/tsmf_gstreamer.c @@ -113,6 +113,7 @@ static const char *tsmf_gstreamer_state_name(GstState state) return name; } +#if 0 static void *tsmf_gstreamer_eventloop_thread_func(void * arg) { TSMFGstreamerDecoder * mdecoder = (TSMFGstreamerDecoder *) arg; @@ -211,6 +212,7 @@ static int tsmf_gstreamer_start_eventloop_thread(TSMFGstreamerDecoder *mdecoder) return 0; } +#endif static int tsmf_gstreamer_stop_eventloop_thread(TSMFGstreamerDecoder *mdecoder) { @@ -787,8 +789,9 @@ static boolean tsmf_gstreamer_pipeline_build(TSMFGstreamerDecoder * mdecoder) /* * On Atlas without this printf, we'll see Illegal instruction only with optimization level set to -O2. - */ - printf(""); + */ + const char *blank = ""; + printf("%s", blank); bool hwaccelflu = FALSE; bool hwaccelomx = FALSE;