summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_frontend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 56d171aa..06e09d91 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.87 2008-11-14 23:31:37 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.88 2008-11-16 00:05:21 phintuka Exp $
*
*/
@@ -334,7 +334,8 @@ static void fe_frame_output_cb (void *data,
this->aspect_controller, (int)(video_aspect * 10000.0))
< sizeof(cmd)) {
LOGDBG("Aspect ratio changed, executing %s", cmd);
- system(cmd);
+ if(system(cmd) == -1)
+ LOGERR("Executing /bin/sh -c %s failed");
this->video_aspect = video_aspect;
}
}