Commit graph

72 commits

Author SHA1 Message Date
Thibault Saunier
288b061843 Add ABI tests and fix related issues 2017-10-11 18:27:53 +02:00
Thibault Saunier
b5beac1217 Make GstVideo/AudioInfo GLib.Opaque structures
So that we generate a ABI compatible structure and make it working.
Also this is the way we do it for almost all other structures of this
kind.

I first tried to keep having a managed structure that properly matches
the C structure ABI generating in the gtk-sharp generator Explicit structure
for the union as we do with non managed structures but this is not
possible and leads to the following assertion in mono:

    Type Gst.Video.VideoInfo/__ABI which has an [ExplicitLayout] attribute cannot have a reference field at the same offset as another field.

This sensibly changes the API but I bet noone will even notice.

https://bugzilla.gnome.org/show_bug.cgi?id=788133
2017-09-26 10:35:37 -03:00
Thibault Saunier
356a35eda6 samples: Minor fix in the way we free resources 2017-09-22 15:42:41 -03:00
Thibault Saunier
9c289eb563 Do not use glue anymore!
This is not needed anymore as ABI compatible structures are now generated
and used by the code generator.
2017-09-06 13:22:57 -03:00
Thibault Saunier
e89446b2f6 samples: Fix broken media uris 2017-08-29 22:20:46 -03:00
Thibault Saunier
893169175d Generate bindings for GES if avalaible 2017-08-29 22:20:46 -03:00
Thibault Saunier
473e2f633b Update tutorial video sample uris 2017-08-29 22:20:46 -03:00
Thibault Saunier
0545b23f5a samples: Minor comment fix 2017-08-29 22:20:46 -03:00
Thibault Saunier
ce8b789596 Fix building the volume example
Removing ambuiguity about what Application namespace we target
2017-08-29 22:20:46 -03:00
Thibault Saunier
7e8ee12304 Add meson build definitions 2017-08-29 22:20:46 -03:00
Stephan Sundermann
9556b05947 VideoOverlay: Fix issues on 32 bits 2015-05-28 16:00:04 +02:00
Stephan Sundermann
f4f5a90f43 examples: Add ExampleVolume in makefile 2014-09-18 15:30:38 +02:00
Master T
3f2ddc438f example: Add volume element
https://bugzilla.gnome.org/show_bug.cgi?id=736882
2014-09-18 15:29:48 +02:00
Stephan Sundermann
06140ce808 sample: Add playback tutorial 7 sample 2014-08-08 18:30:09 +02:00
Stephan Sundermann
96d371480f sample: Add playback tutorial 6 sample 2014-08-08 18:20:05 +02:00
Stephan Sundermann
41af361d89 sample: Add playback tutorial 5 sample 2014-08-08 17:50:29 +02:00
Stephan Sundermann
531c90cde2 sample: Add playback tutorial 4 sample 2014-08-08 17:02:10 +02:00
Stephan Sundermann
85143214ac sample: Add playback tutorial 3 sample 2014-08-08 01:14:38 +02:00
Stephan Sundermann
80002cb38f sample: Add playback tutorial 2 sample 2014-08-08 00:57:34 +02:00
Stephan Sundermann
86faebc08c sample: Add playback tutorial 1 sample 2014-08-07 21:58:51 +02:00
Stephan Sundermann
d9954d32be sample: Add basic tutorial 13 sample 2014-08-07 19:40:31 +02:00
Stephan Sundermann
346893cc10 sample: Add basic tutorial 12 sample 2014-08-07 18:48:04 +02:00
Stephan Sundermann
f58721c84a sample: Add basic tutorial 9 sample 2014-08-07 17:17:56 +02:00
Stephan Sundermann
d5e5a1030b sample: Add basic tutorial 8 sample 2014-08-06 21:39:38 +02:00
Stephan Sundermann
60f672f209 sample: Add basic tutorial 7 sample 2014-08-06 00:58:24 +02:00
Stephan Sundermann
62b75d93d3 sample: Add basic tutorial 6 sample 2014-08-05 23:05:32 +02:00
Stephan Sundermann
26bd788ba3 Value: Register with type system 2014-08-05 23:05:20 +02:00
Stephan Sundermann
a8690fbfbf sample: Fix URL 2014-08-05 11:51:37 +02:00
Stephan Sundermann
6c5ab2a474 sample: Add basic tutorial 5 sample 2014-08-03 17:41:31 +02:00
Stephan Sundermann
54812a36ed sample: Add basic tutorial 4 sample 2014-08-03 14:21:25 +02:00
Stephan Sundermann
68ae950ff7 sample: Add basic tutorial 3 sample 2014-08-01 20:51:40 +02:00
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