| Предыдущий | Следующий |
| VFW_S_RESERVED | VFW_S_CANT_CUE |
VFW_S_STREAM_OFF
Практический смысл
VFW_S_STREAM_OFF (0X00040267) относится к DirectShow. Это success/status HRESULT. Исходный признак результата зафиксирован в документации как исходное описание результата VFW_S_STREAM_OFF
.
Не начинайте с переустановки компонента: сначала сохраните первый HRESULT, object generation и параметры конкретной операции, на которой возникло состояние. Для этой страницы ключевая граница формулируется так: исходное описание результата VFW_S_STREAM_OFF
Специфичные признаки исходного описания
VFW_S_STREAM_OFF is HRESULT 262759 ( 0x00040267 ) from Video for Windows. AllStat describes this result as “The stream has been turned off.” The high-order severity bit is clear, so this is a success result, but it carries more information than plain S_OK .
The operation succeeded while indicating that the relevant stream is disabled and will not currently deliver or render samples.
This result can appear in stream-selection interfaces; record the producing interface and method rather than inferring behavior from the symbolic name alone.
This result can appear in DVD or multi-stream playback; record the producing interface and method rather than inferring behavior from the symbolic name alone.
It can appear in filters that expose optional outputs; record the producing interface and method rather than inferring behavior from the symbolic name alone.
The same numeric success value can be mishandled when a wrapper exposes only a Boolean. Keep the original HRESULT until the code-specific outputs and state transition have been evaluated.
Что сохранить до исправления
- interface и method, на котором впервые появился HRESULT
- CLSID и friendly name задействованных filters, pin names и negotiated media type
- graph state/generation, renderer или capture device и первый предшествующий HRESULT
- временные метки media sample, rate/clock state и фактические параметры вызова
Как локализовать границу
Проверяйте filter graph, negotiated media type, timing и состояние конкретного interface, а не наличие codec вообще. Сначала воспроизведите минимальный сценарий без параллельного изменения конфигурации; затем сравните сохранённые параметры с условием из исходного описания. Если состояние исчезает после re-enumeration или пересоздания объекта, отдельно проверьте lifetime/generation race.
Исправление и повторная проверка
Сравните trace до и после изменения: исправленным считается тот случай, где исчезает подтверждённая причина и сохраняется корректное последующее состояние.
Дополнительные признаки конкретного сценария
VFW_S_RESOURCE_NOT_NEEDED describes an unused resource; it describes the delivery state of a stream.
The operation succeeded while indicating that the relevant stream is disabled and will not currently deliver or render samples.
A player switches from commentary audio to the main track. The commentary stream reports it, its UI indicator changes, and no timeout monitor expects samples from that pin.
Технические ссылки
- Microsoft: DirectShow error and success codes.
- Microsoft: DirectShow overview.
- Microsoft: IAMStreamSelect.
Нужно найти другой код? Найти другой код состояния или ошибки.
