Share via


EC_PALETTE_CHANGED (Compact 2013)

3/26/2014

The video palette has changed.

Parameters

  • lParam1
    Zero.
  • lParam2
    Zero.

Remarks

This event notification is sent to the application and the filter graph manager.

When a video renderer detects a palette change in the stream, it should send the EC_PALETTE_CHANGED notification to the filter graph manager.

The DirectShow video renderers detect whether a palette has changed in dynamic format or not.

The video renderers do this not only to filter out the number of EC_PALETTE_CHANGED notifications sent, but also to reduce the amount of palette creation, installation, and deletion required.

For information on how to use this event code, see CBaseFilter::NotifyEvent.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Event Notification Codes