ff-save: default to 48000 sample rate

parent 88784e97
......@@ -266,7 +266,10 @@ open_audio (GeglProperties *o, AVFormatContext * oc, AVStream * st)
{
if (o->audio)
{
fprintf (stderr, "getting sample rate %i\n", o->audio->samplerate);
if (o->audio->samplerate == 0)
{
o->audio->samplerate = 48000; // XXX: should skip adding audiostream instead
}
p->audio_sample_rate = o->audio->samplerate;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment