mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
hlssink3: Fix case on unspecified playlist type nick for consistency
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1089>
This commit is contained in:
parent
6420fe43da
commit
39e0acb55a
3 changed files with 4 additions and 4 deletions
|
@ -2147,7 +2147,7 @@
|
|||
"construct": false,
|
||||
"construct-only": false,
|
||||
"controllable": false,
|
||||
"default": "Unspecified (0)",
|
||||
"default": "unspecified (0)",
|
||||
"mutable": "null",
|
||||
"readable": true,
|
||||
"type": "GstHlsSink3PlaylistType",
|
||||
|
@ -2223,7 +2223,7 @@
|
|||
"values": [
|
||||
{
|
||||
"desc": "Unspecified: The tag `#EXT-X-PLAYLIST-TYPE` won't be present in the playlist during the pipeline processing.",
|
||||
"name": "Unspecified",
|
||||
"name": "unspecified",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@ mod playlist;
|
|||
pub enum HlsSink3PlaylistType {
|
||||
#[enum_value(
|
||||
name = "Unspecified: The tag `#EXT-X-PLAYLIST-TYPE` won't be present in the playlist during the pipeline processing.",
|
||||
nick = "Unspecified"
|
||||
nick = "unspecified"
|
||||
)]
|
||||
Unspecified = 0,
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ fn test_hlssink3_element_with_video_content() -> Result<(), ()> {
|
|||
let pl_type: HlsSink3PlaylistType = hlssink3.property("playlist-type");
|
||||
assert_eq!(pl_type, HlsSink3PlaylistType::Event);
|
||||
|
||||
hlssink3.set_property_from_str("playlist-type", "Unspecified");
|
||||
hlssink3.set_property_from_str("playlist-type", "unspecified");
|
||||
|
||||
let (hls_events_sender, hls_events_receiver) = mpsc::sync_channel(20);
|
||||
let playlist_content = Arc::new(Mutex::new(String::from("")));
|
||||
|
|
Loading…
Reference in a new issue