[PATCH] setup capture format before connecting video compressors (1 Viewer)

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
Hi,

with my terratech capture card, in combination with mainconcept encoders, the filter graph fails if the capture format hasn't been set before connecting compressors.

since SetupCaptureFormat isn't changing any settings on anyother filter than the capture filter, this should be a correct change.

cheers

ps. maybe adding fileextension .patch/diff to this forums would be a good idea
 

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
while i'm at it, here's another fix. TvCardAnalog class tries to setup base class functions instead of relying on it's internal constructor. this lead to that _parameters was never inited.
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    53
    The Netherlands
    Home Country
    Netherlands Netherlands
    Thx its in SVN

    ps. maybe adding fileextension .patch/diff to this forums would be a good idea
    Normally i dont accept patch files, only complete modified/new files
    reason is that svn changes quickly so patch files come outdated

    Frodo
     

    Users who are viewing this thread

    Top Bottom