]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libppd: In ppdFilterUniversal() set output data type also if no PPD supplied
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 30 Aug 2022 18:02:49 +0000 (20:02 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 30 Aug 2022 18:02:49 +0000 (20:02 +0200)
commit99d157509e7e19b1e5681f8be3a472c839a3427e
treed5a43e9fa27243a1506a0b75e8bf5efa3edb7250
parentd8f80496ab20263add24219a24f382c0f38d432a
libppd: In ppdFilterUniversal() set output data type also if no PPD supplied

Now both cfFilterUniversal() and its PPD file support wrapper
ppdFilterUniversal() are absolutely compatible if no PPD file got
supplied via named extension to the filter data.

Before, if no PPD was supplied and no actual_output_type in the
parameters, the output data type stayed undetermined and the function
errored out not being able to find a filter combination for the
requested conversion.

Now always final_content_type of thef ilter data is used if there is
no actual_output_type specified in the parameters, regardless of
whether we have a PPD file or not.
ppd/ppd-filter.c