Commit graph

14 commits

Author SHA1 Message Date
Xavi Artigas
349cad43cc Fix the case where a new surface is provided without destroying the previous one. We have never observed this scenario, tough. 2012-10-23 12:30:25 +02:00
Xavi Artigas
a62471700f Code cleanup: only call gst_x_overlay_set_window_handle from one place. 2012-10-22 18:17:31 +02:00
Xavi Artigas
1c4d79835a Remove runtime detection of media size as it causes the layout to be recalculated once a frame has already been shown, and it looks ugly. A different solution will be tried for future tutorials. 2012-10-22 12:14:21 +02:00
Xavi Artigas
b0e6a3ba73 Missing braces! 2012-10-19 15:38:12 +02:00
Xavi Artigas
e8010b654f Fix (workaround?, hack?) for expose() having the wrong surface size. 2012-10-19 14:03:35 +02:00
Xavi Artigas
334661044f Implement Aspect ratio preservation in GStreamerSurfaceView. Fix some corner cases that this triggers in the surface size reporting code. 2012-10-18 17:55:43 +02:00
Xavi Artigas
aeefdd86bc Fix memleak :) 2012-10-18 13:40:42 +02:00
Xavi Artigas
2f602601f0 Remove video sink debug 2012-10-17 15:58:17 +02:00
Xavi Artigas
a00f4d59d3 Add warptv to the pipeline, for added awesomeness. 2012-10-17 15:49:14 +02:00
Xavi Artigas
33450c17d2 Proper reporting of media size. Now the Android layout controls the appearance of the clip, instead of it always being maximized. 2012-10-17 14:01:12 +02:00
Xavi Artigas
2fd79e5b3f Whitespacey & comments 2012-10-17 10:28:53 +02:00
Xavi Artigas
8548d90aac Make sure the pipeline is in READY state before trying to set any window handle to the video sink. Send the app the Initialized signal after surface re-creation. 2012-10-16 11:14:08 +02:00
Xavi Artigas
ad8f0daffa With proper debug output 2012-10-15 18:50:28 +02:00
Xavi Artigas
10a4d1a28c Tutorial 3 2012-10-15 18:48:58 +02:00