Commit graph

3716 commits

Author SHA1 Message Date
Sebastian Dröge
c5d800200a examples: Update to windows 0.57
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1467>
2024-06-19 18:29:46 +03:00
Sebastian Dröge
4ba6e88de9 Regenerate with latest gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1467>
2024-06-19 18:28:50 +03:00
Sebastian Dröge
93faf4ddaf Update gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1467>
2024-06-19 18:27:40 +03:00
Sebastian Dröge
529b91b524 Fix various new 1.79 clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1467>
2024-06-19 18:26:57 +03:00
Tim-Philipp Müller
4c3146d5bd log: fix panic when using a log id with a formatted log message
Would panic because of a missing NUL terminator:

thread '<unnamed>' panicked at .. glib/src/gstring.rs:61:9:
assertion failed: !bytes.is_empty() && bytes[bytes.len() - 1] == 0

 3: glib::gstring::GStr::from_utf8_with_nul_unchecked
 4: gstreamer::log::DebugCategory::log_id_unfiltered_internal
      at gstreamer-rs/gstreamer/src/log.rs:465
 5: gstreamer::log::DebugCategory::log_id_unfiltered
      at gstreamer-rs/gstreamer/src/log.rs:425

Also enable logging on the category, so the logging code paths
are actually run here in the tests.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1453>
2024-06-02 17:42:58 +03:00
Sebastian Dröge
7160f53394 Update versions to 0.22.5 2024-05-23 15:50:09 +03:00
Sebastian Dröge
fc554b7486 Update CHANGELOG.md for 0.22.5 2024-05-23 15:49:51 +03:00
Sebastian Dröge
a6353e70c7 pbutils: encoding_profile: Remove unintentionally backported new API 2024-05-23 15:44:12 +03:00
Sebastian Dröge
5b0ee8a256 Update versions to 0.22.5 2024-05-23 15:39:14 +03:00
Sebastian Dröge
b1d7714a62 Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:52:11 +03:00
Sebastian Dröge
77a012114d gstreamer: caps: Add missing assertion in Caps::remove_structure()
Part of 9e2c6268cb.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:50:33 +03:00
Tim-Philipp Müller
f055daf01b gstreamer: bufferlist: add another test for foreach_mut
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:45:54 +03:00
Sebastian Dröge
4ca6dc3853 gstreamer: bufferlist: Check index/length when removing a buffer
Out of range values give assertions in the C function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:45:44 +03:00
Sebastian Dröge
61b69db8e1 gstreamer: bufferlist: Check for out of range indices before trying to get buffer
Passing an index bigger than the length will cause an assertion in the C
function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:45:30 +03:00
Sebastian Dröge
72ba13410e Update to itertools 0.13
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:45:22 +03:00
Seungha Yang
93348efcbf event: Fix leak in SelectStreamsBuilder
gst_event_new_select_streams() does not take ownership of GList

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:45:17 +03:00
Mathieu Duponchelle
bc4908eead streamproducer: expose set_forward_preroll() API
This is useful to decide whether the preroll sample should be forwarded
to consumers when prerolling or only once it is time to render it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:45:09 +03:00
Sebastian Dröge
627ee652d7 ci: Update to rustup 1.27.1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:44:33 +03:00
Naglis Jonaitis
f7a147bab4 examples: Update playbin flag handling snippet
Closes #512

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:44:06 +03:00
Sebastian Dröge
6b0d286c87 Fix various new 1.78 clippy warnings
Quite a bit of API was accidentally not exported but apparently nobody
was using it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:43:57 +03:00
Sebastian Dröge
e183ee5849 ci: Update to Rust 1.78.0
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:43:46 +03:00
Sebastian Dröge
e95262d558 rtp: Only use glib::translate if 1.24 APIs are enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:42:58 +03:00
Sebastian Dröge
3c21817741 video: Remove some unnecessary #[cfg] attributes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1447>
2024-05-23 09:42:42 +03:00
Jordan Petridis
a0a23c6f45 ci: Set DEFAULT_BRANCH for windows image to gstreamer stable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-28 10:25:17 +03:00
Sebastian Dröge
cca58ce1ff audio: video: Improve Display trait impl test for AudioFormat and Video a bit
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 19:29:52 +03:00
Sebastian Dröge
4c36f8b5f9 video: Remove nonsensical test
Printing an unknown video format returns NULL, and with latest git main
this actually causes a critical warning in addition.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 19:29:51 +03:00
Jordan Petridis
14df7bd20f ci: Add libflac in the debian image
So we can build flac elements.

Related: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1401
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 12:13:49 +03:00
Sebastian Dröge
8698fc4d2e Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:38:30 +03:00
Sebastian Dröge
bbc0c677c1 examples: Update to windows 0.56
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:36:12 +03:00
Sebastian Dröge
f54a4568dc ci: Update to Rust 1.77.2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:36:01 +03:00
Sebastian Dröge
f002330e6f ci: Update image version to get a working libvpx on Windows
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:35:39 +03:00
Sebastian Dröge
d756520231 examples: Use safe RTSPMediaFactory role API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:34:22 +03:00
Sebastian Dröge
e5f87cd415 ci: tag linter and sanity check jobs as a "placeholder" jobs
They hardly use any resources and almost finish immediately.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:34:12 +03:00
Sebastian Dröge
e8b00da723 Regenerate with latest gir / gir-files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:32:46 +03:00
Sebastian Dröge
c371f842ec Update gir-files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:32:32 +03:00
Sebastian Dröge
06db881175 Update gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1430>
2024-04-27 11:32:25 +03:00
Sebastian Dröge
f2d3128bf9 Update Cargo.lock 2024-04-08 16:08:11 +03:00
Sebastian Dröge
17c021297a Update CHANGELOG.md for 0.22.4 2024-04-08 16:07:49 +03:00
Sebastian Dröge
02c3b67839 Update versions to 0.22.4 2024-04-08 16:06:10 +03:00
Jordan Petridis
7bba274f10 ci: Pin typos-cli to 1.19.0
New version includes false positives

https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1417#note_2358711

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1417>
2024-04-08 15:07:19 +03:00
Jordan Petridis
1518a08fe5 typos.toml: Ignore anc and sys/tests
The tests are autogenerated

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1417>
2024-04-08 15:06:58 +03:00
Sebastian Dröge
b7a2c3d0f6 ci: Use 0.22-specific image version
This diverged from main by staying at dav1d 1.0 for backwards
compatibility reasons.
2024-04-08 15:05:10 +03:00
Sebastian Dröge
8f4a6c36b5 Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
2024-04-08 14:33:27 +03:00
Sebastian Dröge
c996d104fe ci: Update to Rust 1.77.1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
2024-04-08 14:32:53 +03:00
Sebastian Dröge
a65f6bb1bb mpegts: Always re-export the contents of the auto module
Pre-1.20 it currently has nothing to re-export and would cause clippy
warnings, but like this it won't be forgotten to update the conditions
if new API is added that is available from older versions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
2024-04-08 14:32:47 +03:00
Piotr Brzeziński
25da173ec8 audio: Implement From/ToValue in Audio/VideoConverterConfig
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
2024-04-08 14:32:33 +03:00
Philippe Normand
35747ce3df Fix build warnings after update to Rust 1.77
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
2024-04-08 14:32:27 +03:00
Philippe Normand
4404e52173 ci: Update to Rust 1.77
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
2024-04-08 14:32:15 +03:00
Sebastian Dröge
c656995a51 ci: Rebuild image to get fixes for the Windows gst-plugins-rs CI
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1412>
2024-03-20 13:45:43 +02:00
Sebastian Dröge
2f35b4251e Update CHANGELOG.md for 0.22.3 2024-03-19 18:10:40 +02:00