Skip to content

[Bug]: obs-ndi should recreate obs_output_t object if need #1096

@walker-WSH

Description

@walker-WSH

Operating System Version

windows11

CPU

AMD

GPU

NVIDIA

NDI Devices

No response

OBS Version

30.2

OBS Installation Method

exe

DistroAV Version

4.11.1 or 6.0.0 (obs-31.0.0)

DistroAV Installation Method

exe

[Extra] Installation Steps

No response

OBS Log [URL]

No response

NDI Version

4.11.1

Describe the bug

if user modify resolution or other parameters in settings window, then obs_reset_video is called and video_t in libobs will be free and recreated.

as obs's design, if obs_reset_video is called, all created obs_output_t should be recreated.
otherwise, below variable is a deteled object and crash will happen when to access it.

struct obs_output
      video_t *video;

Steps to reproduce the problem

No response

Expected behavior

No response

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions