summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2011-10-03 18:39:23 +0000
committerRafael Antognolli <antognolli@gmail.com>2011-10-03 18:39:23 +0000
commitd31851e68ca859a5e2539adb50513f03838f7c5f (patch)
treecb375a1ca5273e1eeddfd00608fe4a4c74523834 /legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
parentb437af7bd519d62d8fc4eb4fc403132099189aaa (diff)
emotion/generic/vlc: Remove more warnings.
SVN revision: 63781
Diffstat (limited to 'legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c')
-rw-r--r--legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c b/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
index 848cabb1d6..244592951a 100644
--- a/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
+++ b/legacy/emotion/src/generic_players/vlc/emotion_generic_vlc.c
@@ -489,16 +489,6 @@ _video_track_set(struct _App *app)
489} 489}
490 490
491static void 491static void
492_spu_track_set(struct _App *app)
493{
494 int track;
495
496 _em_read_safe(app->em_read, &track, sizeof(track));
497
498 libvlc_video_set_spu(app->mp, track);
499}
500
501static void
502_file_set_done(struct _App *app) 492_file_set_done(struct _App *app)
503{ 493{
504 int r; 494 int r;
@@ -690,7 +680,8 @@ _position_changed(struct _App *app)
690 return; 680 return;
691 681
692 /* sending size info only once */ 682 /* sending size info only once */
693 int r, w, h; 683 int r;
684 unsigned int w, h;
694 r = libvlc_video_get_size(app->mp, 0, &w, &h); 685 r = libvlc_video_get_size(app->mp, 0, &w, &h);
695 if (r < 0) 686 if (r < 0)
696 return; 687 return;
@@ -729,10 +720,8 @@ int
729main(int argc, const char *argv[]) 720main(int argc, const char *argv[])
730{ 721{
731 struct _App app; 722 struct _App app;
732 Emotion_Generic_Video_Shared *vs;
733 struct pollfd fds[3]; 723 struct pollfd fds[3];
734 int tpipe[2]; // pipe for comunicating events from threads 724 int tpipe[2]; // pipe for comunicating events from threads
735 char shmname[256];
736 char cwidth[64], cheight[64], cpitch[64], chroma[64]; 725 char cwidth[64], cheight[64], cpitch[64], chroma[64];
737 char buf[64]; 726 char buf[64];
738 const char *vlc_argv[] = 727 const char *vlc_argv[] =