mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
docs: add note about decoders and parsers to porting-to-1.0 doc
This commit is contained in:
parent
18a7a1d062
commit
9dd28ae13b
1 changed files with 32 additions and 0 deletions
|
@ -706,3 +706,35 @@ CHANGES
|
||||||
|
|
||||||
- playbin2::connection-speed:
|
- playbin2::connection-speed:
|
||||||
changed from a plain unsigned integer to an unsigned 64-bit integer
|
changed from a plain unsigned integer to an unsigned 64-bit integer
|
||||||
|
|
||||||
|
* property default value changes
|
||||||
|
|
||||||
|
- souphttpsrc now by default asks the server to send icecast metadata
|
||||||
|
if available (from internet radio streams usually). This has
|
||||||
|
implications for hand-rolled pipelines, which may require an icydemux
|
||||||
|
element now to parse that metadata (without that the data might be
|
||||||
|
garbled). Since 1.0.7 the "iradio-mode" property has been re-added
|
||||||
|
to allow users to switch off the default behaviour of requesting
|
||||||
|
icecast metadata.
|
||||||
|
|
||||||
|
* decoders now require parsers in front of them
|
||||||
|
|
||||||
|
- in 1.0 many decoders require parsers in front of them in many
|
||||||
|
situation. This is to simplify decoders and move a lot of the
|
||||||
|
"intelligence" into the parser. This makes it easier to write
|
||||||
|
decoders and minimises behavioural differences between different
|
||||||
|
decoders (both for the same format and different formats). So e.g.
|
||||||
|
|
||||||
|
filesrc ! flacdec ! audioconvert ! pulsesink
|
||||||
|
|
||||||
|
now becomes
|
||||||
|
|
||||||
|
filesrc ! flacparse ! audioconvert ! pulsesink
|
||||||
|
|
||||||
|
but better just use
|
||||||
|
|
||||||
|
filesrc ! decodebin ! audioconvert ! pulsesink
|
||||||
|
|
||||||
|
or even
|
||||||
|
|
||||||
|
playbin uri=file:///path/to/foo.flac audio-sink=pulsesink
|
||||||
|
|
Loading…
Reference in a new issue