forked from enlightenment/efl
emotion/generic/vlc: Only send frame size when it's not zero.
SVN revision: 80117
This commit is contained in:
parent
e295ed8662
commit
778bf8473f
|
@ -708,7 +708,12 @@ _position_changed(struct _App *app)
|
||||||
w = 1;
|
w = 1;
|
||||||
h = 1;
|
h = 1;
|
||||||
}
|
}
|
||||||
_send_resize(app, w, h);
|
|
||||||
|
if (w > 0 || h > 0)
|
||||||
|
{
|
||||||
|
_send_resize(app, w, h);
|
||||||
|
app->size_sent = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* sending audio track info */
|
/* sending audio track info */
|
||||||
_send_all_track_info(app);
|
_send_all_track_info(app);
|
||||||
|
@ -716,7 +721,8 @@ _position_changed(struct _App *app)
|
||||||
/* sending meta info */
|
/* sending meta info */
|
||||||
_send_all_meta_info(app);
|
_send_all_meta_info(app);
|
||||||
|
|
||||||
libvlc_media_player_stop(app->mp);
|
if (app->size_sent)
|
||||||
|
libvlc_media_player_stop(app->mp);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue