Sebastian Dröge [Tue, 23 Oct 2012 12:06:37 +0000 (14:06 +0200)]
scaletempo: Implement LATENCY query
Sebastian Dröge [Tue, 23 Oct 2012 11:39:17 +0000 (13:39 +0200)]
scaletempo: Store instance private data in the instance struct
Getting it over and over again via G_TYPE_INSTANCE_GET_PRIVATE()
is really slow.
Sebastian Dröge [Tue, 23 Oct 2012 08:07:01 +0000 (10:07 +0200)]
hls: Link to $(LIBM) for isfinite()
Tim-Philipp Müller [Mon, 22 Oct 2012 20:41:20 +0000 (21:41 +0100)]
pitch: fix for start times > 0
Fixes buffering and playback of streams that start with
a non-0 timestamp in totem (which has a 'pitch' element
before pulsesink).
Example URI: http://lobostv.lobocast.org.es:8004/lobostv.ogg
Still breaks with chained oggs, on second chain.
https://bugzilla.gnome.org/show_bug.cgi?id=686391
Wim Taymans [Mon, 22 Oct 2012 10:08:41 +0000 (12:08 +0200)]
opuspay: remove pointless caps serialization
Remove the caps serialization in the rtp caps. the spec nor the receiver
does anything with it.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686547
Tim-Philipp Müller [Mon, 22 Oct 2012 09:45:17 +0000 (10:45 +0100)]
subenc: port to 1.0
Jan Schmidt [Sun, 21 Oct 2012 14:39:13 +0000 (01:39 +1100)]
mpegtsmux: Don't make the same buffer writable twice.
Fixes Bug 686327 - mpegtsmux: fix refcount issue with input buffers
Sreerenj Balachandran [Sat, 20 Oct 2012 11:55:41 +0000 (14:55 +0300)]
wayland: update to wayland-protocol 0.99
https://bugzilla.gnome.org/show_bug.cgi?id=686520
Mark Nauwelaerts [Thu, 18 Oct 2012 20:23:07 +0000 (22:23 +0200)]
mpegdemux: forward non-processed dvd events
... such as notably dvd-spu-clut-change.
Mark Nauwelaerts [Thu, 18 Oct 2012 20:22:12 +0000 (22:22 +0200)]
mpegdemux: segment event should be sent before gap event
Sebastian Dröge [Fri, 19 Oct 2012 09:59:10 +0000 (09:59 +0000)]
eglglessink: Don't try to render expose() if no caps are known yet
Sebastian Dröge [Thu, 18 Oct 2012 15:12:21 +0000 (15:12 +0000)]
eglglessink: Fix expose
Tim-Philipp Müller [Fri, 19 Oct 2012 00:03:51 +0000 (01:03 +0100)]
tsdemux: fix program packet sequence counter parsing in PES header
Tim-Philipp Müller [Thu, 18 Oct 2012 23:47:45 +0000 (00:47 +0100)]
tsdemux: fix some inconsequential PES header parsing issues
additional_copy_info: need to get rid of the highest
bit, not the lowest one
program_packet_sequence_counter: also need to get rid
of the highest bit instead of multiplying with a random
value
original_stuff_length: want to AND 0x3f to extract the
lowest 6 bits, not multiply by it.
None of these fields are actually used though, so these
should not have caused any issues.
Raimo Järvi [Wed, 17 Oct 2012 12:54:32 +0000 (15:54 +0300)]
tsdemux: Fix parsing P-STD_buffer in PES header
https://bugzilla.gnome.org/show_bug.cgi?id=686294
Tim-Philipp Müller [Thu, 18 Oct 2012 17:56:33 +0000 (18:56 +0100)]
wayland: don't try to build against 0.99 or later
The plugin needs updating for some API changes since 0.95.
Andoni Morales Alastruey [Wed, 17 Oct 2012 23:47:57 +0000 (01:47 +0200)]
tsdemux: fix potential crash dereferencing NULL program pointer
https://bugzilla.gnome.org/show_bug.cgi?id=686358
Sebastian Dröge [Thu, 18 Oct 2012 13:06:37 +0000 (15:06 +0200)]
opensles: Only check for the main opensles header
Sebastian Dröge [Thu, 18 Oct 2012 12:38:01 +0000 (14:38 +0200)]
eglglessink: Put into the not-ported plugins list
Reynaldo H. Verdejo Pinochet [Thu, 18 Oct 2012 12:25:05 +0000 (14:25 +0200)]
eglglessink: Documentation: Hook eglglessink documentation in
Sebastian Dröge [Thu, 18 Oct 2012 12:09:25 +0000 (14:09 +0200)]
eglglessink: Make compilable on desktop Linux with MESA too
Sebastian Dröge [Thu, 18 Oct 2012 12:07:07 +0000 (14:07 +0200)]
eglglessink: Integrate into the build system
Conflicts:
ext/Makefile.am
Sebastian Dröge [Thu, 18 Oct 2012 08:49:44 +0000 (10:49 +0200)]
eglglessink: Fix debug output
Sebastian Dröge [Thu, 18 Oct 2012 08:32:47 +0000 (10:32 +0200)]
eglglessink: Also clear the surface once when the buffer content is preserved
Sebastian Dröge [Thu, 18 Oct 2012 08:20:26 +0000 (10:20 +0200)]
eglglessink: Only draw black borders if the default swap behaviour of the surface is to destroy the buffer
Sebastian Dröge [Thu, 18 Oct 2012 07:37:56 +0000 (09:37 +0200)]
eglglessink: Remove unused label
Reynaldo H. Verdejo Pinochet [Thu, 18 Oct 2012 05:26:17 +0000 (02:26 -0300)]
eglglessink: Factor display region reset to its own func
Reynaldo H. Verdejo Pinochet [Thu, 18 Oct 2012 04:45:51 +0000 (01:45 -0300)]
eglglessink: Always Reset display_region.* at EGL/GLES ctx wipe
Reynaldo H. Verdejo Pinochet [Thu, 18 Oct 2012 04:36:49 +0000 (01:36 -0300)]
eglglessink: Factor ELG/GLES context cleanup into its own func
Reynaldo H. Verdejo Pinochet [Thu, 18 Oct 2012 03:33:26 +0000 (00:33 -0300)]
eglglessink: Drop drafted fast rendering path logic
Sebastian Dröge [Wed, 17 Oct 2012 13:50:08 +0000 (15:50 +0200)]
eglglessink: Also update header file
Sebastian Dröge [Wed, 17 Oct 2012 13:37:53 +0000 (15:37 +0200)]
eglglessink: Provide the texture positions to the shader on every frame too
Sebastian Dröge [Wed, 17 Oct 2012 13:04:11 +0000 (15:04 +0200)]
eglglessink: Draw black borders and also use a single GL buffer for all vertices
Fixes weird artifacts outside the video frame on
Qualcomm Snapdragon chipsets and should be faster
than glClear() on the complete area all the time.
Sebastian Dröge [Wed, 17 Oct 2012 10:49:44 +0000 (12:49 +0200)]
eglglessink: Fix memory leak
Sebastian Dröge [Wed, 17 Oct 2012 08:47:14 +0000 (10:47 +0200)]
eglglessink: Remove useless debug output added for debugging earlier
Sebastian Dröge [Wed, 17 Oct 2012 08:08:10 +0000 (10:08 +0200)]
eglglessink: Make window setting/handling a bit more threadsafe
Sebastian Dröge [Wed, 17 Oct 2012 07:59:05 +0000 (09:59 +0200)]
eglglessink: Print window handle after setting it
Reynaldo H. Verdejo Pinochet [Tue, 16 Oct 2012 20:50:03 +0000 (17:50 -0300)]
eglglessink: Move DAR query & store to surface init
The DAR (display's pixel aspect ratio) should remain a
constant at runtime so there's no point on repeatedly
query and store this value. Doing it at surface setup
should be enough. As an added bonus this change should
make rendering a bit faster.
Sebastian Dröge [Tue, 16 Oct 2012 15:35:18 +0000 (17:35 +0200)]
eglglessink: Don't signal the GCond too often
Sebastian Dröge [Tue, 16 Oct 2012 15:05:02 +0000 (17:05 +0200)]
eglglessink: Add myself as author
Sebastian Dröge [Tue, 16 Oct 2012 14:25:05 +0000 (16:25 +0200)]
eglglessink: Make sure to always reset the display region in start()
Sebastian Dröge [Tue, 16 Oct 2012 14:23:02 +0000 (16:23 +0200)]
eglglessink: Also commit missing changes to the header file
Sebastian Dröge [Tue, 16 Oct 2012 14:18:01 +0000 (16:18 +0200)]
eglglessink: Also include $(GST_BASE_CFLAGS)
Sebastian Dröge [Tue, 16 Oct 2012 14:12:48 +0000 (16:12 +0200)]
eglglessink: Fix race condition
Sebastian Dröge [Tue, 16 Oct 2012 13:40:11 +0000 (15:40 +0200)]
eglglessink: Refactor rendering and all context specific GL things into a separate thread
Also fixes some threading related problems.
Sebastian Dröge [Tue, 16 Oct 2012 12:39:43 +0000 (14:39 +0200)]
eglglessink: Re-add accidentially reverted commit
Sebastian Dröge [Tue, 16 Oct 2012 12:15:58 +0000 (14:15 +0200)]
eglglessink: Remove unneeded flow_lock
Use the object lock in the few places necessary, everything
else is protected by other things already.
Also store the context directly inside the instance struct
instead of allocating some memory for it.
Sebastian Dröge [Tue, 16 Oct 2012 09:53:08 +0000 (11:53 +0200)]
eglglessink: Fix debug output and constant names
Sebastian Dröge [Tue, 16 Oct 2012 09:51:13 +0000 (11:51 +0200)]
eglglessink: start()/stop() is called in READY<->NULL in basesink
But this should be called in PAUSED<->READY.
Reynaldo H. Verdejo Pinochet [Mon, 15 Oct 2012 16:44:29 +0000 (13:44 -0300)]
eglglessink: Fix for outbound DAR reported by EGL
Some EGL implementations don't honor the spec
requirement of returning DAR values as w/h *
EGL_DISPLAY_SCALING.
This changeset:
- Fixes rendering on the Samsung Galaxy III
- Fixes wrong check on required 1.2 EGL version
- Reorders the code a bit.
Sebastian Dröge [Mon, 15 Oct 2012 11:38:15 +0000 (13:38 +0200)]
eglglessink: Fix crashes if there are no EGL or GLES extensions
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 15:42:47 +0000 (12:42 -0300)]
eglglessink: Fix crash at element instantiation
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 15:26:04 +0000 (12:26 -0300)]
eglglessink: GLSL: Save one extra texture lookup
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 15:22:24 +0000 (12:22 -0300)]
eglglessink: GLSL: Minor named index access tweak xyz -> rgb
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 15:18:27 +0000 (12:18 -0300)]
eglglessink: GLSL: Assorted fixes to optimized code
- Don't copy over opos as it's already a vec2
- Fix index order access at frag_YUY2_YVYU_UYVY_prog
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 14:50:28 +0000 (11:50 -0300)]
eglglessink: GLSL: Planar YUV converters optimization
- Use consts for the transform's offset and cofficients values
- Use dot product instead of mult and add
- Avoid unneeded texture lookups
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 14:05:04 +0000 (11:05 -0300)]
Geglglessink: LSL: Optimize frag_YUY2_YVYU_UYVY_prog
- Avoid repeatedly performing the texture lookup
- Use consts for the transform's offset and cofficients values
- Use the dot product instead of the explicit mult and add
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 06:02:21 +0000 (03:02 -0300)]
eglglessink: GLSL: Drop unneded nxy vec2
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 05:16:35 +0000 (02:16 -0300)]
eglglessink: Fix missing double quotation mark in GLSL code
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 05:04:18 +0000 (02:04 -0300)]
eglglessink: GLSL: Optimize frag_AYUV_prog
- Avoid repeatedly performing the texture lookup
- Use consts for the transform's offset and cofficients values
- Use the dot product instead of the explicit mult and add
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 02:35:22 +0000 (23:35 -0300)]
eglglessink: Documentation: GstEglGlesSink struct
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 02:04:05 +0000 (23:04 -0300)]
eglglessink: Documentation: GstEglGlesBuffer struct (DRAFT)
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 01:54:48 +0000 (22:54 -0300)]
eglglessink: Documentation: GstEglGlesImageFmt struct
Reynaldo H. Verdejo Pinochet [Wed, 10 Oct 2012 01:40:19 +0000 (22:40 -0300)]
eglglessink: Documentation: GstEglGlesRenderContext struct
Reynaldo H. Verdejo Pinochet [Tue, 9 Oct 2012 20:00:52 +0000 (17:00 -0300)]
eglglessink: Assorted doc and reordering fixes
Reynaldo H. Verdejo Pinochet [Tue, 9 Oct 2012 19:25:46 +0000 (16:25 -0300)]
eglglessink: Documentation: Element properties
Brief explanatory comments plus some reordering
to group default setting of properties and runtime
flags values.
Sebastian Dröge [Tue, 9 Oct 2012 15:20:12 +0000 (17:20 +0200)]
eglglessink: Add support for YVYU
Reynaldo H. Verdejo Pinochet [Tue, 9 Oct 2012 14:48:09 +0000 (11:48 -0300)]
eglglessink: Documentation: GLSL Shaders
Brief explanatory comments plus some rerdering
to group packed/planar converters.
Reynaldo H. Verdejo Pinochet [Tue, 9 Oct 2012 14:00:24 +0000 (11:00 -0300)]
eglglessink: Documentation: Element overview
Reynaldo H. Verdejo Pinochet [Mon, 8 Oct 2012 15:10:25 +0000 (12:10 -0300)]
eglglessink: Refactor REORDER shader.
Avoid unneededly calling texture2D() 3 consecutive times.
Sebastian Dröge [Thu, 4 Oct 2012 13:47:54 +0000 (15:47 +0200)]
eglglessink: Fix handling of caps changes by only releasing what needs to be released
And not terminating the display connection
Reynaldo H. Verdejo Pinochet [Thu, 4 Oct 2012 05:15:24 +0000 (02:15 -0300)]
eglglessink: Move display_region reset to locked section
Reynaldo H. Verdejo Pinochet [Thu, 4 Oct 2012 04:56:10 +0000 (01:56 -0300)]
eglglessink: Reset display_region dims at caps renego
Reynaldo H. Verdejo Pinochet [Thu, 4 Oct 2012 04:33:31 +0000 (01:33 -0300)]
eglglessink: Cosmetics
Reynaldo H. Verdejo Pinochet [Thu, 4 Oct 2012 04:29:40 +0000 (01:29 -0300)]
eglglessink: Don't access local value from struct
Reynaldo H. Verdejo Pinochet [Thu, 4 Oct 2012 02:41:52 +0000 (23:41 -0300)]
eglglessink: Terminate display connection at caps renego
Reynaldo H. Verdejo Pinochet [Tue, 2 Oct 2012 20:56:14 +0000 (17:56 -0300)]
eglglessink: Cosmetics
Sebastian Dröge [Wed, 3 Oct 2012 10:32:38 +0000 (12:32 +0200)]
eglglessink: Only attach the context once to the streaming thread
Sebastian Dröge [Wed, 3 Oct 2012 08:53:25 +0000 (10:53 +0200)]
eglglessink: Make the context current for the thread and unbind it again around every use
This fixes some crashes and leaking of our context into other
OpenGL code on the same thread.
Sebastian Dröge [Tue, 2 Oct 2012 15:29:26 +0000 (17:29 +0200)]
eglglessink: Improve cleanup
Sebastian Dröge [Tue, 2 Oct 2012 13:46:03 +0000 (15:46 +0200)]
eglglessink: Remove unused label
Sebastian Dröge [Tue, 2 Oct 2012 13:42:02 +0000 (15:42 +0200)]
eglglessink: Allow setting a NULL handle
Sebastian Dröge [Tue, 2 Oct 2012 07:48:15 +0000 (09:48 +0200)]
eglglessink: Revert "Do not update_surface_dims() once per frame"
This reverts commit
82103376ede2bc7c63dd699f5982168660f67852.
We have to update the surface dimensions on every frame to
make sure that we get notified about updates. This happens
for example if the Android window gets re-layouted because
a widget takes more space than before.
Reynaldo H. Verdejo Pinochet [Tue, 2 Oct 2012 04:43:35 +0000 (01:43 -0300)]
eglglessink: Do not update_surface_dims() once per frame
And.. Upgrade debug message to warging on weird DAR.
Correct fix to avoid spaming with this message
once per each frame is avoid calling update_surface_dims()
at render_and_display(). This is handled at egl surface
init.
Sebastian Dröge [Mon, 1 Oct 2012 14:36:14 +0000 (16:36 +0200)]
eglglessink: And downgrade another warning too
Sebastian Dröge [Mon, 1 Oct 2012 14:14:39 +0000 (16:14 +0200)]
eglglessink: Downgrade GST_WARNING to GST_DEBUG
Sebastian Dröge [Mon, 1 Oct 2012 07:44:23 +0000 (09:44 +0200)]
eglglessink: Add some {} to if statements make them work as expected
Reynaldo H. Verdejo Pinochet [Mon, 1 Oct 2012 02:07:48 +0000 (23:07 -0300)]
eglglessink: Drop stale defines for max frame size
Reynaldo H. Verdejo Pinochet [Mon, 1 Oct 2012 02:06:19 +0000 (23:06 -0300)]
eglglessink: Small commentary fixes here an there
Reynaldo H. Verdejo Pinochet [Fri, 28 Sep 2012 14:48:23 +0000 (11:48 -0300)]
eglglessink: Avoid setting height or width twice
Reynaldo H. Verdejo Pinochet [Thu, 27 Sep 2012 04:18:37 +0000 (01:18 -0300)]
eglglessink: Use PAR/DAR to set viewport
Sebastian Dröge [Thu, 27 Sep 2012 12:28:05 +0000 (14:28 +0200)]
eglglessink: Correctly resize if the surface dimensions change
Sebastian Dröge [Thu, 27 Sep 2012 12:08:22 +0000 (14:08 +0200)]
eglglessink: Update surface dimensions on every buffer
Sebastian Dröge [Thu, 27 Sep 2012 12:02:17 +0000 (14:02 +0200)]
eglglessink: More consistent naming of shader related variables
Sebastian Dröge [Thu, 27 Sep 2012 11:57:14 +0000 (13:57 +0200)]
eglglessink: Some variable name cleanup
Sebastian Dröge [Thu, 27 Sep 2012 11:53:59 +0000 (13:53 +0200)]
eglglessink: Remove default-width/height properties
These are completely unneeded
Sebastian Dröge [Tue, 25 Sep 2012 11:32:40 +0000 (13:32 +0200)]
eglglessink: Fix double free()
Sebastian Dröge [Tue, 25 Sep 2012 07:06:04 +0000 (09:06 +0200)]
eglglessink: Don't leak EGL/ES render context
Reynaldo H. Verdejo Pinochet [Tue, 25 Sep 2012 04:39:21 +0000 (01:39 -0300)]
eglglessink: Put EGL/GLES context vars on their own struct
Reynaldo H. Verdejo Pinochet [Mon, 24 Sep 2012 14:19:32 +0000 (11:19 -0300)]
eglglessink: Small TODO reformatting