Add initial support for gstreamer 1.x.
* Modified configure.ac to check first for the latest gstreamer version available (1.x), if it is not available, it will fallback to the old version (0.10.x).
* If there is not a gstreamer version available it will fail.
* Set valaflags, cflags and ldadd according to the gstreamer version available.
* Link against gstreamer-base and gstreamer-video for version 1.x.
Regenerate some of the autotools files
* Add compile file
* Fix unportable assignment :=
* Regenerated files: Makefile.in, src/Makefile.in and aclocal.m4
Add HAVE_GSTREAMER_1_0 variable
* to be able to use #if in the vala code.
Rename GstXOverlay interface
* On gstreamer 1.x the interface was renamed to GstVideoOverlay.
* And the window id is now set through the function set_window_handle.
Add compatibility for gstreamer 1.x
* GST_BUFFER_DATA does not exist anymore -> needs to be replaced by buffer.map which returns the structure Gst.MapInfo containing the data.
* Tge caps are not associated with the buffer anymore. They belong now to the pad.
* Functions have been renamed.
* Parameters were added or removed.
* Interfaces were renamed.
Update gstd version from 1.3 to 1.4.
Unmap the MapInfo used to obtain the buffer data.
Remove define HAVE_GSTREAMER_1_0.
* To use GST_VERSION_MAJOR in the source file.
Simplify configure.ac and Makefile.am logic.
* Add support to specify the gstreamer version to the configure script as parameter (--with-gstreamer-version=1.0). If the parameter is not specified, we automatically check for the latest gstreamer version (1.0), if not found, we try the old version (0.10).
* Use only one variable to specify the cflags and one for the libs. Before we passed one variable for gstreamer base, one for gstreamer, etc.
* Rename define HAVE_GSTREAMER_1_0 to GSTREAMER_1_X.
simplify logic to check for module gio.
Use Gst.Message.Type.get_name
Gst.MessageType.to_string is not available anymore on gstreamer 1.x
Remove --with-gstreamer-version configure option.
Only detect automatically the available version.
add --with-gstreamer-version configure option again.
move logging statement before setting the window id.
copy the buffer data before unmapping it.
Remove int64 cast of CLOCK_TIME_NONE
* CLOCK_TIME_NONE is no longer of type int, instead it is a Gst.ClockTime.
* Therefore, if it is not cast to int64 it will break the build for the seek, which expects int64.
* Set the value to -1 instead of casting CLOCK_TIME_NONE.
Fixed: enable qos and step support for gstreamer 1.x.
Accept gstreamer versions higher or equal than 1.0.0 for the new api.
added some TODO#s
* Implemented the TODO's.
* Basically tried to fix castings and types.