diff options
author | Vivia Nikolaidou <vivia@ahiru.eu> | 2022-10-14 17:32:43 +0300 |
---|---|---|
committer | Vivia Nikolaidou <vivia@ahiru.eu> | 2022-10-14 18:21:28 +0300 |
commit | 9b1361b538ad2c214012571a22d0c871eb75f805 (patch) | |
tree | 1f0579551f4257b139ec0ca01a72232428436043 /utils/togglerecord | |
parent | 0ab965335ff268048abc9b90845716ff814b7ef7 (diff) |
plugins: Use .into() instead of gst::Fraction::new() where applicable
Diffstat (limited to 'utils/togglerecord')
-rw-r--r-- | utils/togglerecord/tests/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/togglerecord/tests/tests.rs b/utils/togglerecord/tests/tests.rs index 1c70c573..cc891f54 100644 --- a/utils/togglerecord/tests/tests.rs +++ b/utils/togglerecord/tests/tests.rs @@ -105,7 +105,7 @@ fn setup_sender_receiver( .format(gst_video::VideoFormat::Argb) .width(320) .height(240) - .framerate(gst::Fraction::new(50, 1)) + .framerate(50.into()) .build() } else { gst_audio::AudioCapsBuilder::new_interleaved() |