aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2012-08-19 13:52:57 +0000
committerLRN <lrn1986@gmail.com>2012-08-19 13:52:57 +0000
commit002521fd01682ffcb3be4eef0b60dd8d3b3873ac (patch)
tree78afdd1807076fb0e453494b39de7d8099607d0b
parent498bb9af50644ab65b12909a1a7074cc38f95701 (diff)
downloadlibextractor-002521fd01682ffcb3be4eef0b60dd8d3b3873ac.tar.gz
libextractor-002521fd01682ffcb3be4eef0b60dd8d3b3873ac.zip
Disable global tag sending in gst for now, fix the test
-rw-r--r--src/plugins/gstreamer_extractor.c2
-rw-r--r--src/plugins/test_gstreamer.c8
2 files changed, 2 insertions, 8 deletions
diff --git a/src/plugins/gstreamer_extractor.c b/src/plugins/gstreamer_extractor.c
index 78fb5af..a1a08ee 100644
--- a/src/plugins/gstreamer_extractor.c
+++ b/src/plugins/gstreamer_extractor.c
@@ -1497,10 +1497,12 @@ send_info (GstDiscovererInfo * info, PrivStruct *ps)
1497 if (ps->time_to_leave) 1497 if (ps->time_to_leave)
1498 return; 1498 return;
1499 1499
1500 /* Disable this for now (i.e. only print per-stream tags)
1500 if ((tags = gst_discoverer_info_get_tags (info))) 1501 if ((tags = gst_discoverer_info_get_tags (info)))
1501 { 1502 {
1502 gst_tag_list_foreach (tags, send_tag_foreach, ps); 1503 gst_tag_list_foreach (tags, send_tag_foreach, ps);
1503 } 1504 }
1505 */
1504 1506
1505 if (ps->time_to_leave) 1507 if (ps->time_to_leave)
1506 return; 1508 return;
diff --git a/src/plugins/test_gstreamer.c b/src/plugins/test_gstreamer.c
index 58cfbf8..bba9b75 100644
--- a/src/plugins/test_gstreamer.c
+++ b/src/plugins/test_gstreamer.c
@@ -221,14 +221,6 @@ main (int argc, char *argv[])
221 0 221 0
222 }, 222 },
223 { 223 {
224 EXTRACTOR_METATYPE_LANGUAGE,
225 EXTRACTOR_METAFORMAT_UTF8,
226 "text/plain",
227 "en",
228 strlen ("en") + 1,
229 0
230 },
231 {
232 EXTRACTOR_METATYPE_MIMETYPE, 224 EXTRACTOR_METATYPE_MIMETYPE,
233 EXTRACTOR_METAFORMAT_UTF8, 225 EXTRACTOR_METAFORMAT_UTF8,
234 "text/plain", 226 "text/plain",