mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
examples: video-play-fixate.c remove fixated check
This commit is contained in:
parent
a84cfac28a
commit
ed3be2114c
1 changed files with 0 additions and 5 deletions
|
|
@ -297,11 +297,6 @@ on_stream_param_changed(void *_data, uint32_t id, const struct spa_pod *param)
|
||||||
fprintf(stderr, "got format:\n");
|
fprintf(stderr, "got format:\n");
|
||||||
spa_debug_format(2, NULL, param);
|
spa_debug_format(2, NULL, param);
|
||||||
|
|
||||||
if (!spa_pod_is_fixated(param)) {
|
|
||||||
fprintf(stderr, "not fixated\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (spa_format_parse(param, &data->format.media_type, &data->format.media_subtype) < 0)
|
if (spa_format_parse(param, &data->format.media_type, &data->format.media_subtype) < 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue