diff options
author | Dave Robillard <dave@drobilla.net> | 2009-06-25 11:47:38 -0400 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-06-25 11:47:38 -0400 |
commit | 0ce58265e5ae76238aa7d0b9d56def61fe6be664 (patch) | |
tree | 17179428791e62a1308ce569c8d58edadc6572af /gst/shapewipe | |
parent | 7a7083ba1f8e38b0b51820d4a37f279c6b2c73bd (diff) | |
parent | 699e4f4d044d8111053b631baba4b324a60b1274 (diff) | |
download | gst-plugins-bad-0ce58265e5ae76238aa7d0b9d56def61fe6be664.tar.gz gst-plugins-bad-0ce58265e5ae76238aa7d0b9d56def61fe6be664.tar.bz2 gst-plugins-bad-0ce58265e5ae76238aa7d0b9d56def61fe6be664.zip |
Merge branch 'fdo' into lv2
Diffstat (limited to 'gst/shapewipe')
-rw-r--r-- | gst/shapewipe/gstshapewipe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/shapewipe/gstshapewipe.c b/gst/shapewipe/gstshapewipe.c index 95218801..4029c494 100644 --- a/gst/shapewipe/gstshapewipe.c +++ b/gst/shapewipe/gstshapewipe.c @@ -334,7 +334,10 @@ gst_shape_wipe_video_sink_setcaps (GstPad * pad, GstCaps * caps) g_mutex_unlock (self->mask_mutex); } - self->frame_duration = gst_util_uint64_scale (GST_SECOND, fps_d, fps_n); + if (fps_n != 0) + self->frame_duration = gst_util_uint64_scale (GST_SECOND, fps_d, fps_n); + else + self->frame_duration = 0; ret = gst_pad_set_caps (self->srcpad, caps); |