From 0f41d0e75dab024d6d79864361e37b5d9199c4c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 18 Aug 2016 12:02:01 +0100 Subject: [PATCH] Revert "flacparse: Add maximum bitrate tag" This reverts commit c703ab69f526092bb26cce41ca691a896c8383d8. https://bugzilla.gnome.org/show_bug.cgi?id=769392 --- gst/audioparsers/gstflacparse.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c index f4050987af..4a36137f73 100644 --- a/gst/audioparsers/gstflacparse.c +++ b/gst/audioparsers/gstflacparse.c @@ -1705,13 +1705,6 @@ gst_flac_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame) GST_TAG_AUDIO_CODEC, caps); gst_caps_unref (caps); - /* Compute the bitrate of the uncompressed audio and set it as the - * maximum possible bitrate, since such a bitrate is the worst case - * (= no compression). */ - gst_tag_list_add (flacparse->tags, GST_TAG_MERGE_KEEP, - GST_TAG_MAXIMUM_BITRATE, flacparse->samplerate * flacparse->bps * - flacparse->channels, NULL); - /* Announce our pending tags */ gst_base_parse_merge_tags (parse, flacparse->tags, GST_TAG_MERGE_REPLACE);