Latest post Fri, Jul 12 2013 7:44 PM by akharkev. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Fri, Jul 12 2013 10:34 AM

    • Francesco
    • Not Ranked
    • Joined on Wed, May 16 2012
    • Pisa - Italy
    • Posts 69
    • Points 680

    Class ContainerWriter Inheritance

    Hi to all

    in debugging my plugin I notice that there is a call to ContainerWriter::InternalQueryInterface with iid:

    0x45ffbae6 - e8f4 - 48e9

    and searching for these value in the SDK I found is the IID_IACFParametersXML IID.  According to the example, ContainerWriter class shouldn't inherite from IACFParametersXML but is the  MediaVolumeWriter class that inherite from IACFParametersXML.

    May be it's a mistake due to the fact that I didn't check the last 8 bytes of IID ?

    best regards

  • Fri, Jul 12 2013 7:44 PM In reply to

    • akharkev
    • Not Ranked
    • Joined on Wed, Apr 28 2010
    • Posts 18
    • Points 200
    • Avid Employee

    Re: Class ContainerWriter Inheritance

    You’re not mistaken. The host checks if plug-in's IMediaWriter components implement IACFParametersXML in order to build the plug-in UI. IACFParametersXML implementation is optional. If plug-in doesn’t need a UI it doesn’t implement the interface. A plug-in that performs volume-based export can implement IACFParametersXML in the same component that implements IMediaVolumeWriter. A plug-in that performs file-based export can implement IACFParametersXML in the same component that implements IMediaContainerWriter.

    Alexey

Page 1 of 1 (2 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller