Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Starting the project
	GbPlayer and GbPlayerTime are GObjects
  • Loading branch information
Gabriel Falcao committed Jul 6, 2008
1 parent cc13280 commit 2e5b259
Show file tree
Hide file tree
Showing 19 changed files with 17,778 additions and 3 deletions.
5 changes: 2 additions & 3 deletions clutter_tests/buttons/button.c
Expand Up @@ -269,7 +269,7 @@ handcar_new()
all->video = clutter_gst_video_texture_new ();
clutter_actor_set_size (all->video, 270, 203);
clutter_actor_set_position (all->video, 20, 120);
clutter_actor_set_opacity (all->video, 0x50);
clutter_actor_set_opacity (all->video, 0xff);

// all->clutter_group_add_many (all->container1, all->rect1);
all->videosink = clutter_gst_video_sink_new (CLUTTER_TEXTURE(all->video));
Expand All @@ -292,8 +292,7 @@ handcar_new()
void
play_video (HandCar *all)
{
g_object_set (all->player, "uri", "file:///home/gabriel/Desktop/Downloads/Brasileirinhas.200806.Tomando.no.Cu.Cena1.Babalu.XXX.DVDRip.wmv", NULL);
// g_object_set (all->player, "uri", "file:///home/gabriel/Desktop/Downloads/xoxotao.wmv", NULL);
g_object_set (all->player, "uri", "file:///home/gabriel/Filmes/Jeff.Dunham.Spark.Of.Insanity.2007.DVDRip.XviD.AC3-STS-cd1.avi", NULL);
gst_element_set_state (all->player, GST_STATE_PLAYING);

}
Expand Down
7 changes: 7 additions & 0 deletions gbplayer/Makefile
@@ -0,0 +1,7 @@
all: main

main: main.c
gcc -DIMG_PATH="\"`pwd`/imgs\"" -g -O0 -o GbPlayer gb-player-time.c gb-player.c main.c `pkg-config --libs --cflags gdk-pixbuf-2.0 gtk+-2.0 gstreamer-0.10 clutter-0.6 clutter-gtk-0.6 clutter-gst-0.6 clutter-cairo-0.6 cairo`

test: main
./GbPlayer

0 comments on commit 2e5b259

Please sign in to comment.