Commit graph

41 commits

Author SHA1 Message Date
Stephan Sundermann
c5216c0bc3 samples: Leave memory management up to the GC 2014-08-01 17:01:17 +02:00
Stephan Sundermann
27d42dfd3f sample: Add basic tutorial 2 sample 2014-08-01 16:15:22 +02:00
Stephan Sundermann
f1ea09aca2 Add basic tutorial 1 sample 2014-08-01 15:31:52 +02:00
Stephan Sundermann
c0d824ab7b Add sample makefile 2014-08-01 15:07:22 +02:00
Marcin Kolny
daf5c7ad86 samples: Build fix 2014-04-12 19:34:13 +02:00
Stephan Sundermann
df285b417a Samples: Ported overlay sample from 0.10
Hangs on shutdown when playing a video for some reason
2013-12-21 16:52:27 +01:00
Stephan Sundermann
9b318234af Added basic sample. Just plays a movie and parses the messages it gets from Gstreamer and writes them to the console 2013-12-21 16:52:20 +01:00
Stephan Sundermann
9878dc9047 Preparation to push 1.0 bindings 2013-12-21 16:48:33 +01:00
Sebastian Dröge
a9ebf7e38e Init the X11 threads as first thing on X11 in the GTK sample 2010-03-21 11:37:57 +01:00
Andoni Morales Alastruey
b689dd7e7b Fix the way file uri is set in win32 2010-02-06 10:20:15 +01:00
Maarten Bosmans
8046a36bb4 Restore the simple Message.ParseTag overload
In daa62493 the Message.ParseTag(out Pad pad, out TagList tags) method
is added and the old one removed, but they can coexist peacefully.
2009-12-10 10:44:36 +01:00
Sebastian Dröge
78f518f4ca Update samples to use decodebin2/playbin2 2009-11-25 10:10:52 +01:00
Sebastian Dröge
fee44493c5 If GTK 2.18 is used, make sure that the DrawingArea has a native window attached 2009-11-25 08:16:05 +01:00
Sebastian Dröge
e65f115fc6 Ship samples/TransformSample.cs in the tarballs 2009-10-03 11:51:57 +02:00
Sebastian Dröge
8e330baec0 Improve debugging in the gtk-video-player sample and set force-aspect-ratio to TRUE if available 2009-10-03 10:14:44 +02:00
Sebastian Dröge
a8161aaf9d Updating GtkVideoPlayer sample
Handle bus messages, set the XWindowID from a sync handler, use playbin2, ...
2009-10-02 11:53:09 +02:00
Sebastian Dröge
264ac69116 Add BaseTransform/Cairo/Navigation example
This example implements a BaseTransform subclass, which overlays
a video with a moving line and which reacts on navigation events
and paints a circle at the position where a mouse button 1 was pressed.
2009-09-23 14:23:25 +02:00
Sebastian Dröge
7f30940050 Update Gst.Buffer bindings 2009-09-22 07:40:57 +02:00
Sebastian Dröge
80a5794fc1 Fix indention everywhere 2009-09-20 10:22:16 +02:00
Sebastian Dröge
54b70a1a8a Update one sample for a small API change 2009-09-11 10:14:43 +02:00
Sebastian Dröge
77f6d6dc59 Make the AppSrc example work on big endian architectures too
Cairo's ARGB32 format is defined to be native endianness, i.e.
we have to use GST_VIDEO_FORMAT_ARGB or _BGRA depending on
endianness.
2009-08-14 08:40:47 +02:00
Sebastian Dröge
3cf8f5ebc4 Make it possible to use the GtkVideoPlayer example on Win32 too 2009-08-14 08:37:09 +02:00
Sebastian Dröge
2793937d48 And also check for mono-cairo and only compile the appsrc sample when it's available 2009-08-14 07:27:42 +02:00
Sebastian Dröge
1d509c9b6a Check for gtk-sharp and glib-sharp and conditionally compile the samples 2009-08-14 07:21:54 +02:00
Sebastian Dröge
aa7bb8fa1c Use internal glib-sharp copy everywhere and make it work side-by-side with real glib-sharp
glib-sharp will only get a new release with the new API that we need for
3.0 in a year or something. Instead of waiting a year before we can release
something we now have our own internal copy of glib-sharp trunk that will
be dropped once glib-sharp 3.0 is released.

Everything is now compilable and working without any additional patches.
2009-08-05 16:57:20 +02:00
Sebastian Dröge
7613c99e54 Set pipeline to null state in the end and use the real NeedData event of appsrc 2009-06-21 10:28:05 +02:00
Sebastian Dröge
103aea2d7d Fix memory leak in appsrc example 2009-06-21 10:24:46 +02:00
Maarten Bosmans
7698ae8801 Add samples/AppSrc.cs
This sample started as a test case for a bug with Buffer.Data, but remains
useful as a example of how to use the AppSrc element.
2009-06-21 10:23:48 +02:00
Sebastian Dröge
8ece992223 Don't allow subclassing of element bindings
...and clean up/simplify the DynamicSignal stuff.
2009-06-05 20:59:24 +02:00
Sebastian Dröge
32ba2488a2 First try to create a code generator for element bindings 2009-05-27 15:02:57 +02:00
Maarten Bosmans
febcfd772c Fix build on Windows
- use -option instead of /option
 - use path\file.cs for csc.exe and path/file.cs for mcs
 - don't build samples/gtk-video-player when using csc.exe
2009-05-26 15:35:00 +02:00
Maarten Bosmans
2f023a09af Fix compilation of the samples with MS .NET 2009-05-22 19:25:23 +02:00
Sebastian Dröge
15532cc8c6 Update the element bindings to use GTypeNameAttribute 2009-05-21 21:47:17 +02:00
Sebastian Dröge
c54dc8ce93 Update samples from http://code.google.com/p/cil-bindings
Also add a XvImageSink binding and add the GtkVideoPlayer sample
from the above place.
2009-05-21 20:57:26 +02:00
Sebastian Dröge
533f9a16b5 Move plugin wrappers into seperate namespaces 2009-05-06 14:09:23 +02:00
Sebastian Dröge
71f1ba9080 Fix compilation of the samples 2009-05-06 09:54:14 +02:00
Sebastian Dröge
3f74ddbae3 Fix samples for all the API changes 2009-05-01 15:28:34 +02:00
Sebastian Dröge
f380194b1a Make tests and samples compile again 2009-04-14 13:42:24 +02:00
Sebastian Dröge
72cb15ad1d Fix make dist 2009-04-07 09:55:57 +02:00
Sebastian Dröge
183a92410d Add a lot of files to .gitignore 2009-04-07 09:50:49 +02:00
Sebastian Dröge
7e7546b879 Update/Cleanup of the build system 2009-04-07 09:45:54 +02:00