[vlc-commits] [Git][videolan/vlc][master] 13 commits: sout: add ES string ID to the `Add` wrapper

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 29 10:21:20 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
e4cefcf5 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: add ES string ID to the `Add` wrapper

The new ES string ID was added initially in the core for playback
scenario allowing the user to have a readable and guaranteed unique
representation of each ES.

Introducing it in stream output will allow users to specify ESes to
stream out filters with more precision than with legacy ES ID.
ES ID has the disadvantage to only be unique per demux, hence, a
multiple demux scenario often provided multiple ES with the same ID.
Strings ID are guaranteed to be unique, regardless of the number of
demuxes the input manages.

This patch only prepare the `Add` wrapper to properly split the addition
of the unique and **non-null** string to the `pf_add` callback. This is
done in that order mainly not to break bisect in the next patches that
implement the ID forwarding logic for stream out filters.

- - - - -
32bca00f by Alaric Senat at 2023-07-29T10:06:06+00:00
input: forward ES string ID to stream output

The reasoning behind this change is explained in the previous patch.

- - - - -
053079de by Alaric Senat at 2023-07-29T10:06:06+00:00
input: create a specific CC string ID for sout

Since we send the whole side data, we need a string ID specific to
stream out Closed captions.

- - - - -
49f6ca38 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: autodel: forward ES string ID

- - - - -
233d0cfd by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: dlna: forward ES string ID

- - - - -
70a33a43 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: cycle: forward ES string ID

- - - - -
94b1dd0e by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: chromecast: forward ES string ID

- - - - -
62c0178b by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: transcode: forward ES string ID

- - - - -
9afddda8 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: record: forward ES string ID

- - - - -
c6750104 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: bridge: suffix and forward ES string ID

The string ID needs to be stored and modified (for uniqueness at the
bridge output).

- - - - -
e8e38721 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: gather: duplicate and forward ES string ID

The string ID of the first gathered ES is forwarded to the next stream.
As the validity of the string is only guaranteed for the lifetime of the
input, `--sout-keep` scenario force us to duplicate the fist string ID
here.

- - - - -
cfb7f723 by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: add ES string ID to `pf_add`

- - - - -
39b178fe by Alaric Senat at 2023-07-29T10:06:06+00:00
sout: display: pass the ES string ID to decoder

- - - - -


30 changed files:

- include/vlc_decoder.h
- include/vlc_sout.h
- modules/stream_out/autodel.c
- modules/stream_out/bridge.c
- modules/stream_out/chromaprint.c
- modules/stream_out/chromecast/cast.cpp
- modules/stream_out/cycle.c
- modules/stream_out/delay.c
- modules/stream_out/display.c
- modules/stream_out/dlna/dlna.cpp
- modules/stream_out/dummy.c
- modules/stream_out/duplicate.c
- modules/stream_out/es.c
- modules/stream_out/gather.c
- modules/stream_out/mosaic_bridge.c
- modules/stream_out/record.c
- modules/stream_out/renderer_common.cpp
- modules/stream_out/rtp.c
- modules/stream_out/sdi/SDIOutput.cpp
- modules/stream_out/sdi/SDIOutput.hpp
- modules/stream_out/setid.c
- modules/stream_out/smem.c
- modules/stream_out/standard.c
- modules/stream_out/stats.c
- modules/stream_out/transcode/audio.c
- modules/stream_out/transcode/spu.c
- modules/stream_out/transcode/transcode.c
- modules/stream_out/transcode/transcode.h
- modules/stream_out/transcode/video.c
- modules/stream_out/udp.c


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1dcda3d70a2ed9593fb677dca69bfa472ef1a44a...39b178fe7f279a60cf1e627e326c0ac1e95c7d61

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1dcda3d70a2ed9593fb677dca69bfa472ef1a44a...39b178fe7f279a60cf1e627e326c0ac1e95c7d61
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list