gstreamer/ges
Thibault Saunier 0d95d9258b uri-source: Respect stream-id even on streams muxed in raw
The issue is that we rely on `decodebin::autoplug-select` to `SKIP`
unwanted pads, that signal was first provided to select factories during
autoplugin, not totally thought to avoid exposing pads. For streams
muxed directly in raw, decodebin has nothing to plug after the demuxer
and the pad is exposed right away, meaning that we do not have any
chance to avoid that pad to be exposed. This patch takes that limitation
into account and checks the stream ID of the pads exposed by decodebin
before exposing them itself, so we end up using the right pad even if
more are uselessly exposed by decodebin.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/126

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/222>
2021-01-23 04:27:07 +00:00
..
python ges: Output otio formatter loading issues in debug logs 2020-05-06 16:11:58 +00:00
ges-asset.c meson: update glib minimum version to 2.56 2020-10-16 13:17:04 +02:00
ges-asset.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-audio-source.c source: Refactor the way we plug converter elements 2020-07-30 18:44:13 -04:00
ges-audio-source.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-audio-test-source.c ges: Use assets to instantiate track elements/group 2020-03-27 17:17:23 -03:00
ges-audio-test-source.h ges: Update documentation 2020-04-09 10:10:09 -04:00
ges-audio-track.c audio-track: Respect track restrictions in our gaps 2021-01-19 11:08:32 -03:00
ges-audio-track.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-audio-transition.c ges: Use assets to instantiate track elements/group 2020-03-27 17:17:23 -03:00
ges-audio-transition.h ges: Use assets to instantiate track elements/group 2020-03-27 17:17:23 -03:00
ges-audio-uri-source.c uri-source: Respect stream-id even on streams muxed in raw 2021-01-23 04:27:07 +00:00
ges-audio-uri-source.h uri*source: Factor out common logic into a GESUriSource private data 2020-07-30 18:44:13 -04:00
ges-auto-transition.c ges: Do not recreate auto-transitions when changing clip assets 2020-09-11 10:46:59 +00:00
ges-auto-transition.h clip: preserve auto-transition in split 2020-05-07 09:37:15 +01:00
ges-base-effect-clip.c effect: Add support for time effects 2020-05-22 19:16:04 +01:00
ges-base-effect-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-base-effect.c add missing Since annotations on new API 2020-06-03 09:57:06 +02:00
ges-base-effect.h add missing Since annotations on new API 2020-06-03 09:57:06 +02:00
ges-base-transition-clip.c WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC 2018-12-15 00:14:51 +00:00
ges-base-transition-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-base-xml-formatter.c Fix retrieving asset metadata on project reload. 2020-07-25 08:28:44 +05:30
ges-base-xml-formatter.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-clip-asset.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-clip-asset.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-clip.c ges: Do not recreate auto-transitions when changing clip assets 2020-09-11 10:46:59 +00:00
ges-clip.h clip: add method for adding top effects 2020-05-25 11:20:38 +01:00
ges-command-line-formatter.c ges: Refactor the way we plug converters in effects 2020-06-17 10:48:41 -04:00
ges-command-line-formatter.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-container.c container: stop storing priority offset in child mapping 2020-05-07 09:37:15 +01:00
ges-container.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-effect-asset.c ges: Refactor the way we plug converters in effects 2020-06-17 10:48:41 -04:00
ges-effect-asset.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-effect-clip.c ges: Refactor the way we plug converters in effects 2020-06-17 10:48:41 -04:00
ges-effect-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-effect.c ges: Refactor the way we plug converters in effects 2020-06-17 10:48:41 -04:00
ges-effect.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-enums.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-enums.h ges: Fix smart rendering 2020-07-30 18:44:13 -04:00
ges-extractable.c ges: support test clips assets natural size/framerate 2020-03-25 11:26:29 -03:00
ges-extractable.h ges: support test clips assets natural size/framerate 2020-03-25 11:26:29 -03:00
ges-formatter.c ges: Output otio formatter loading issues in debug logs 2020-05-06 16:11:58 +00:00
ges-formatter.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-gerror.h ges: Refactor the way we plug converters in effects 2020-06-17 10:48:41 -04:00
ges-group.c errors: added edit errors 2020-05-22 19:15:57 +01:00
ges-group.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-image-source.c ges: Place imagefreeze at right place 2020-04-13 11:56:46 +00:00
ges-image-source.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-internal.h ges: Do not recreate auto-transitions when changing clip assets 2020-09-11 10:46:59 +00:00
ges-layer.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-layer.h errors: added edit errors 2020-05-22 19:15:57 +01:00
ges-marker-list.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-marker-list.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-meta-container.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-meta-container.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-multi-file-source.c ges: Deprecate GESImageSource and GESMultiFileSource 2020-03-30 06:54:22 -03:00
ges-multi-file-source.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-operation-clip.c WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC 2018-12-15 00:14:51 +00:00
ges-operation-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-operation.c ges: Cleanup the way we declare object types 2020-03-19 21:09:18 +00:00
ges-operation.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-overlay-clip.c WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC 2018-12-15 00:14:51 +00:00
ges-overlay-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-pipeline.c pipeline: Restrict the presence only if the user didn't explicitly provided one 2020-07-30 18:44:13 -04:00
ges-pipeline.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-pitivi-formatter.c formatter: Do not dereference NULL pointer 2020-05-27 23:49:00 +00:00
ges-pitivi-formatter.h pitivi-formatter: Also skip the class 2020-07-09 21:43:33 -04:00
ges-prelude.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-project.c asset: unref requested assets 2020-05-07 10:06:52 +01:00
ges-project.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-screenshot.c ges: Deprecate ges_play_sink_convert_frame 2019-05-13 17:00:00 -04:00
ges-screenshot.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-smart-adder.c WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC 2018-12-15 00:14:51 +00:00
ges-smart-adder.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-smart-video-mixer.c smart-mixer: Move the videoconvert to after the mixer 2020-08-13 18:34:48 -04:00
ges-smart-video-mixer.h transition: Better document the way alpha is computed for transitions 2020-08-13 18:34:48 -04:00
ges-source-clip-asset.c ges: Update documentation 2020-04-09 10:10:09 -04:00
ges-source-clip-asset.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-source-clip.c ges: Move TimeOverlayClip out of GESTestClip 2020-05-19 13:27:13 +00:00
ges-source-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-source.c uri-source: Respect stream-id even on streams muxed in raw 2021-01-23 04:27:07 +00:00
ges-source.h uri-source: Respect stream-id even on streams muxed in raw 2021-01-23 04:27:07 +00:00
ges-structure-parser.c ges: support test clips assets natural size/framerate 2020-03-25 11:26:29 -03:00
ges-structure-parser.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-structured-interface.c ges:validate: Allow setting keyframes using the clips directly 2020-07-31 21:36:43 -04:00
ges-structured-interface.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-test-clip.c ges: Move TimeOverlayClip out of GESTestClip 2020-05-19 13:27:13 +00:00
ges-test-clip.h ges: Move TimeOverlayClip out of GESTestClip 2020-05-19 13:27:13 +00:00
ges-text-overlay-clip.c WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC 2018-12-15 00:14:51 +00:00
ges-text-overlay-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-text-overlay.c ges: Use assets to instantiate track elements/group 2020-03-27 17:17:23 -03:00
ges-text-overlay.h ges: Use assets to instantiate track elements/group 2020-03-27 17:17:23 -03:00
ges-time-overlay-clip.c add missing Since annotations on new API 2020-06-03 09:57:06 +02:00
ges-time-overlay-clip.h ges: Move TimeOverlayClip out of GESTestClip 2020-05-19 13:27:13 +00:00
ges-timeline-element.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-timeline-element.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-timeline-tree.c ges: Do not recreate auto-transitions when changing clip assets 2020-09-11 10:46:59 +00:00
ges-timeline-tree.h ges: Fix smart rendering 2020-07-30 18:44:13 -04:00
ges-timeline.c ges: Do not recreate auto-transitions when changing clip assets 2020-09-11 10:46:59 +00:00
ges-timeline.h ges: Add APIs to have a sens of frame numbers 2020-03-25 11:26:29 -03:00
ges-title-clip.c track-element: add has-internal-source property 2020-03-16 14:19:52 +00:00
ges-title-clip.h title: Make deprecated symbols visible API 2020-07-08 10:03:43 -04:00
ges-title-source.c ges: Update documentation 2020-04-09 10:10:09 -04:00
ges-title-source.h ges: Update documentation 2020-04-09 10:10:09 -04:00
ges-track-element-asset.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-track-element-asset.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-track-element-deprecated.h ges: Use G_DEPRECATE to mark deprecated methods 2019-12-18 15:48:23 -03:00
ges-track-element.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-track-element.h track-element: Make set_has_internal_source return a boolean 2020-06-16 18:21:01 -04:00
ges-track.c ges: Fix smart rendering 2020-07-30 18:44:13 -04:00
ges-track.h errors: added edit errors 2020-05-22 19:15:57 +01:00
ges-transition-clip.c ges: Rework the way we ensure core elements are not wrongly moved between clips 2020-04-08 14:35:28 +01:00
ges-transition-clip.h ges: Update documentation 2020-04-09 10:10:09 -04:00
ges-transition.c ges: Cleanup the way we declare object types 2020-03-19 21:09:18 +00:00
ges-transition.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-types.h ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-uri-asset.c ges: Add all missing Since markers from 1.16 onward 2020-06-19 11:13:24 -04:00
ges-uri-asset.h ges: Update documentation 2020-04-09 10:10:09 -04:00
ges-uri-clip.c ges: Do not recreate auto-transitions when changing clip assets 2020-09-11 10:46:59 +00:00
ges-uri-clip.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-uri-source.c uri-source: Respect stream-id even on streams muxed in raw 2021-01-23 04:27:07 +00:00
ges-uri-source.h uri-source: Respect stream-id even on streams muxed in raw 2021-01-23 04:27:07 +00:00
ges-utils.c transition: Better document the way alpha is computed for transitions 2020-08-13 18:34:48 -04:00
ges-utils.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-validate.c ges:validate: Allow setting keyframes using the clips directly 2020-07-31 21:36:43 -04:00
ges-version.h.in ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-video-source.c video-source: Stop giving useless name to frame positioner 2020-08-13 18:34:48 -04:00
ges-video-source.h ges: Deprecate GESImageSource and GESMultiFileSource 2020-03-30 06:54:22 -03:00
ges-video-test-source.c source: Refactor the way we plug converter elements 2020-07-30 18:44:13 -04:00
ges-video-test-source.h ges: Move TimeOverlayClip out of GESTestClip 2020-05-19 13:27:13 +00:00
ges-video-track.c docs: update GESAudioTrack and GESVideoTrack 2020-03-05 17:04:51 -03:00
ges-video-track.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges-video-transition.c video-transition: Make smpte props children properties 2020-09-09 01:45:11 +00:00
ges-video-transition.h video-transition: Make smpte props children properties 2020-09-09 01:45:11 +00:00
ges-video-uri-source.c uri-source: Respect stream-id even on streams muxed in raw 2021-01-23 04:27:07 +00:00
ges-video-uri-source.h uri*source: Factor out common logic into a GESUriSource private data 2020-07-30 18:44:13 -04:00
ges-xml-formatter.c formatter: Fix saving/loading project with clip speed rate control 2020-05-25 11:20:38 +01:00
ges-xml-formatter.h ges: Use #pragma once everywhere 2020-03-19 21:09:18 +00:00
ges.c init: Fix initialisation crash 2020-10-31 20:51:27 +11:00
ges.h ges: Move TimeOverlayClip out of GESTestClip 2020-05-19 13:27:13 +00:00
ges.resource Implement a formatter based on [OpenTimelineIO] 2019-07-26 13:48:51 -04:00
gesmarshal.list add object-moved signal to simple timeline layer 2010-09-02 18:08:43 +02:00
gstframepositioner.c framepositioner: Fix some source repositionning rounding issues 2020-04-16 21:52:52 -04:00
gstframepositioner.h framepositioner: Fix some source repositionning rounding issues 2020-04-16 21:52:52 -04:00
meson.build Meson: Use pkg-config generator 2020-10-23 11:15:15 -04:00
parse.l ges-launcher: Add support for titles 2018-03-30 18:30:33 -03:00