• Arun Raghavan's avatar
    video-color: Deal with NULL colorimetry while converting from string · 326940f8
    Arun Raghavan authored
    This came up in the case where v4l2 sets caps with colorimetry=NULL, and
    then tries to parse back the colorimetry, causing a crash in
    gst_video_get_colorimetry() because of g_str_equal(). We fix this by
    making sure the only caller of the function never calls it with a null
    colorimetry string.
    326940f8
video-color.c 16.8 KB