| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 7a9b09e5ef1990021f62bd66ef972a6476721671)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Video frames come with a pixel-aspect-ratio cap that tells the sink what
should be the final size of the video.
This information is now given to ClutterGstVideoTexture that derives the
preferred width and height based on the base size of the frames and that
pixel-aspect-ratio.
A new debug category "aspect-ratio" has been created to trace what
(cherry picked from commit 7dd2c2b2b78bd2146fff0f84b99b33c342632116)
|
| |
|
| |
|
|
|
|
| |
Preparing the 1.2.0 release
|
|
|
|
|
|
|
|
| |
Because of some internal changes in Clutter 1.3.x, clutter-gst 1.2.x
only works with clutter < 1.3.0. With clutter < 1.2.x clutter-gst will
print some warnings (as it tries to override properties of ClutterMedia
that only exist in clutter 1.2.x) but will basically work, so let people
build it.
|
|
|
|
|
|
|
|
| |
I assumed you could read back the subtitle-font-desc from playbin2, but
that was wrong, it's read-only.
Proxy the property instead and keep a copy of the string so reading back
the property works.
|
| |
|
|
|
|
|
|
| |
The GLES2 specific defines for the GLSL shaders were depending on a
HAVE_COGL_GLES2 define, something stolen from test-shader in Clutter and
that used an internal define. Let's use COGL_HAS_GLES instead.
|
|
|
|
|
|
| |
Some headers do not define APIENTRY or APIENTRYP, define them in this
case. Compile some headers/function that are only used by the ARB fp
renderer.
|
|
|
|
|
|
|
|
|
| |
When streaming content, you might want to set a custom user agent,
eg. to promote your software, make it appear in statistics or because
the server requires a special user agent you want to impersonate (evil!).
This commit introduces two new symbols get_user_agent() and
set_user_agent() along with their corresponding "user-agent" property.
|
|
|
|
|
| |
get_idle_material() and set_idle_material() were introduced without
telling from which version they will be available. Fix that.
|
|
|
|
|
|
| |
Of course we should wait until we are playing (hapilly ignoring the fact
we can preroll) to get out of the idle mode and start displaying frames
instead of the idle material.
|
|
|
|
|
| |
A symbol had an errant underscore in the paint function, so removed this
to fix building. Also removed a g_debug statement.
|
|
|
|
|
|
|
|
|
|
|
|
| |
When not playing a file (say if you create a ClutterGstVideoTexture
without a file name) you may want to control how the empty VideoTexture
should look like.
For that ClutterGstVideoTexture now lets you define an "idle" material
that will be used when not having a frame to display.
The default behaviour is to paint the texture black when there is nothing
else to show.
|
|
|
|
|
|
| |
As the indentation level is 2 characters it makes more sense to set
softtabstop to that indentation level so tabs in insert mode behave
correctly.
|
|
|
|
|
|
|
|
| |
When already in a seek, let's not honour incoming requests for a new
position but remember it instead so we can issue another seek event when the
one pending has finished.
Fixes: http://bugzilla.openedhand.com/show_bug.cgi?id=2022
|
|
|
|
|
|
|
| |
Under certain circumstances, the controls can be oversized wrt. the
actual display size because the panel size was determined with older
(smaller) stage size. Anyway, this patch resizes controls to fit the new
stage size, on "fullscreen" event.
|
|
|
|
|
| |
clutter_shader_ref/unref() were forgotten in the last batch of
deprecated symbols and cogl_check_extensions() had to die.
|
|
|
|
| |
Let's depend on a stable version of Clutter, not a development one.
|
|
|
|
|
|
|
|
| |
Now that we use automake's silent rules, I still want GNU make to behave
as if it were called with the -s switch when we are in silent mode.
AS_AM_REALLY_SILENT does just that, respecting the default verbosity and
the V environment variable.
|
|
|
|
|
| |
It's a fact, shave is dead, automake's silent rules are the way forward
to have more silent builds.
|
|
|
|
|
| |
We use gio-2.0 internally (not exposing it in the headers) so it's good
to add a Requires.private field to make that fact clear.
|
|
|
|
|
|
|
|
|
| |
Since clutter 1.1.10, new textures might end up in a big atlas. To be
sure this does not happen for frames, we add the NO_ATLAS flag when
creating the texture.
This is just to be futureproof, the atlas does not currently fiddle with
luminance textures, but you never know.
|
|
|
|
| |
We don't really want automake to pull "random" files into the project
|
| |
|
|
|
|
|
| |
The GMutex of the GSource was not destroyed when the GSource is. Plug
it!
|
|
|
|
|
|
| |
No need to copy the caps when some upstream element is asking what we
can do. Reffing them is enough as the caps are built at object
construction time and and kept until destruction time.
|
|
|
|
|
|
| |
ClutterMedia has a new API (since 1.2) to let the user specify an URI of
a subtitle file and display them along with a video. You can also
specify the font that should be used when rendering.
|
|
|
|
|
| |
cogl_texture_ref/unref() is deprecated in favour of the more generic
cogl_handle_ref/unref(), so let's use that.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Cogl had some CGL_ macros in the public headers, wrapping the GL enums.
Nobody was supposed to use them. Now that they are really gone, we need
to use the real GL define instead.
|
|
|
|
|
|
|
|
|
|
| |
The purpose of the library is to provide ClutterActors. You can play
audio files using a ClutterGstVideoTexture as all you do is giving
playbin2 an URI anyway.
Not having to support an audio only ClutterMedia object will allow us to
add more video related functions inside ClutterMedia without worrying
about an audio-only implementation of the interface.
|
|
|
|
|
|
| |
By adding G_DISABLE_DEPRECATED, COGL_DISABLE_DEPRECATED and
CLUTTER_DISABLE_DEPRECATED to AM_CPPFLAGS. Also disable single includes
for GLib as the trend is going that way.
|
|
|
|
|
|
|
| |
Users of the library should not include individual headers but the top
level one only (<clutter-gst/clutter-gst.h>). This is to allow us to
shuffle things around, remove or rename headers without breaking
anything.
|
|
|
|
|
|
|
| |
As the 1.0.0 release is closer than ever, it's time to fix make
distcheck. The issue was introduced with the introspection commit,
g-ir-scanner needs to access the source files and thus those need to be
prefixed by $(srcdir)/
|
|
|
|
|
|
|
|
|
|
|
| |
Under some circumstances, the default priority of the ClutterGstSource
is not enough to have every frame being uploaded. Setting a higher
priority to ClutterGstVideoSink allows new video frames to be painted
even in a busy mainloop.
Thanks to Bastian Winkler <buz@netbuz.org> for the initial patch
Fixes: OHB#1412
|
|
|
|
|
| |
It's been there since the beginning without have a small sentence to
describe it, let's fix that.
|
|
|
|
|
| |
clutter-gst-debug.h does not need the cluttre_gst_init*() functions, no
idea why that include was there.
|
|
|
|
|
| |
So glib does not have to copy them, less things to do, less memory used,
happy bunnies.
|
|
|
|
|
| |
GStreamer's default subtitle font is a small serif font. For a better
readability, let's default to Sans 16.
|
|
|
|
|
| |
ClutterGstVideoTexture is already using it so try to be consistent and
use it everywhere...
|
|
|
|
|
|
|
|
|
|
|
|
| |
The "duration" message is sent on the GstBus when an element has a new
duration. Then, this duration has to be queried from the pipeline.
Instead of that we tried to parse the duration message that returned
GST_CLOCK_TIME_NONE (which is the way to say "we have a new duration,
please query it.") and we emitted a new signal with that value.
This is basically the commit bd3a5266206ff3c730674655cea93a8d689efd8d
but for ClutterGstAudio.
|
|
|
|
|
| |
ClutterGstAudio has been left behing a bit. Start with adding debugging
traces.
|
|
|
|
|
| |
AM_MAINTAINER_MODE is a relic we do not use here. configure warns that
giving --enable-maintainer-mode is stupid, and it is indeed.
|
|
|
|
| |
We do depend on GNU make, that's a fact. Please don't warn about it.
|
|
|
|
|
| |
The API version is clearly not a good way of saying which version we
document. Switch to the actual library version.
|
|
|
|
| |
It's that time of the year again.
|