Что означает код HRESULT 0x00040270 (VFW_S_NO_STOP_TIME)?

 
Предыдущий Следующий
VFW_S_CANT_CUE VFW_S_NOPREVIEWPIN

VFW_S_NO_STOP_TIME

Практический смысл

VFW_S_NO_STOP_TIME (0X00040270) относится к DirectShow. Это success/status HRESULT. Исходный признак результата зафиксирован в документации как исходное описание результата VFW_S_NO_STOP_TIME.

Одинаковый facility объединяет коды по подсистеме, но не по причине. Воспроизводите минимальный вызов и фиксируйте состояние непосредственно перед ним. Для этой страницы ключевая граница формулируется так: исходное описание результата VFW_S_NO_STOP_TIME

Специфичные признаки исходного описания

  • VFW_S_NO_STOP_TIME is HRESULT 262768 ( 0x00040270 ) from Video for Windows. AllStat describes this result as “The stop time for the sample was not set.” The high-order severity bit is clear, so this is a success result, but it carries more information than plain S_OK .
  • The sample timing query succeeded with information that no stop time was set for the media sample.
  • The central question for this result is whether the downstream filter has a documented way to infer duration or safely process a sample with only a start time. The HRESULT alone confirms neither unrelated work nor the quality of optional outputs.
  • A reliable interpretation of this result names the exact method contract, the object generation, and the outputs that remain valid. This prevents a success-with-information result from being promoted to full success or demoted to a generic error.
  • This result can appear in IMediaSample timing; record the producing interface and method rather than inferring behavior from the symbolic name alone.
  • It can appear in filters that derive duration from the next sample; record the producing interface and method rather than inferring behavior from the symbolic name alone.

Что сохранить до исправления

  • 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.

Исправление и повторная проверка

После исправления повторите тот же минимальный сценарий и убедитесь, что изменился именно подтверждённый prerequisite, а не только порядок событий.

Дополнительные признаки конкретного сценария

  • VFW_S_ESTIMATED returns a value with uncertainty; it reports that the stop timestamp is absent.
  • The sample timing query succeeded with information that no stop time was set for the media sample.
  • Do not read an uninitialized stop value. Infer duration only from the media contract, or propagate the missing-stop-time condition to the component that owns scheduling.

Технические ссылки


Нужно найти другой код? Найти другой код состояния или ошибки.