problem compiling 0.9~alpha
Ben Hutchings
ben at decadent.org.uk
Fri Sep 25 21:01:19 UTC 2009
On Fri, Sep 25, 2009 at 02:56:38PM -0500, Carl Karsten wrote:
[...]
> I bet dvsource-alsa.c is signaling this as a smpte stream and not iec.
> As can be seen below from libdv, that is determined by the APT field
> in some DV header.
>
> dv->std = ((header->apt) ? e_dv_std_smpte_314m : e_dv_std_iec_61834);
>
> >From dvsource-alsa.c:
>
> int apt = (system == &dv_system_625_50) ? 0 : 1;
>
> Here is how libdv determines system:
>
> dv->system = (header->dsf || (dv_system_50_fields (dv) == 1)) ?
> e_dv_system_625_50 : e_dv_system_525_60;
>
> dsf field comes from a VAUX header. Here is the core part of
> dv_system_50_fields:
[...]
Right, yes, it should be setting DSF and not APT. But I didn't know that
when writing dvsource-alsa because I hadn't seen the specs yet. Please
file a bug and I'll make the change, or you can do it if you can see how
to do so.
Ben.
--
Ben Hutchings
Horngren's Observation:
Among economists, the real world is often a special case.
More information about the dvswitch-devel
mailing list