[vlc-devel] [PATCH 1/2] Added vout_DisplayScreenSize method (to be verified)

Poncee Joven poncee.13 at gmail.com
Thu Jan 31 08:00:57 CET 2013


---
 src/video_output/video_output.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 0c56ef9..fc61676 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -358,6 +358,12 @@ void vout_DisplayTitle(vout_thread_t *vout, const char *title)
     vout_control_PushString(&vout->p->control, VOUT_CONTROL_OSD_TITLE, title);
 }
 
+void vout_DisplayScreenSize(vout_thread t *vout, int x, int y)
+{
+	char * ss[3] = {x, " x " , y};
+	vout_control_PushString(&vout->p->control, VOUT_CONTROL_OSD_TITLE, ss);
+}
+
 void vout_PutSubpicture( vout_thread_t *vout, subpicture_t *subpic )
 {
     vout_control_cmd_t cmd;
-- 
1.7.10.4




More information about the vlc-devel mailing list