mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
yay, I can commit again !!! this fixes warnings I had
Original commit message from CVS: yay, I can commit again !!! this fixes warnings I had
This commit is contained in:
parent
b6b3c5f55a
commit
f5501e25a2
2 changed files with 10 additions and 11 deletions
|
@ -38,5 +38,4 @@
|
|||
|
||||
#endif /* FLAC_VERSION < 0x010003 */
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _FLAC_COMPAT_H_ */
|
||||
|
|
|
@ -329,15 +329,15 @@ gst_flacenc_update_quality (FlacEnc *flacenc, gint quality)
|
|||
{
|
||||
flacenc->quality = quality;
|
||||
|
||||
#define DO_UPDATE(name, val, str) \
|
||||
G_STMT_START{ \
|
||||
if (FLAC__stream_encoder_get_##name (flacenc->encoder) != \
|
||||
flacenc_params[quality].##val) { \
|
||||
FLAC__stream_encoder_set_##name (flacenc->encoder, \
|
||||
flacenc_params[quality].##val); \
|
||||
g_object_notify (G_OBJECT (flacenc), str); \
|
||||
}; \
|
||||
} G_STMT_END
|
||||
#define DO_UPDATE (name, val, str) \
|
||||
G_STMT_START { \
|
||||
if (FLAC__stream_encoder_get_##name (flacenc->encoder) != \
|
||||
flacenc_params[quality].val) { \
|
||||
FLAC__stream_encoder_set_##name (flacenc->encoder, \
|
||||
flacenc_params[quality].val); \
|
||||
g_object_notify (G_OBJECT (flacenc), str); \
|
||||
} \
|
||||
} G_STMT_END
|
||||
|
||||
g_object_freeze_notify (G_OBJECT (flacenc));
|
||||
|
||||
|
|
Loading…
Reference in a new issue