added ARG_OUTPUT_ENDIANNESS and ARG_TYPE to _get_property
authorSteve Baker <steve@stevebaker.org>
Sun, 14 Apr 2002 10:19:08 +0000 (10:19 +0000)
committerSteve Baker <steve@stevebaker.org>
Sun, 14 Apr 2002 10:19:08 +0000 (10:19 +0000)
Original commit message from CVS:
added ARG_OUTPUT_ENDIANNESS and ARG_TYPE to _get_property

ext/audiofile/gstafsink.c

index bf570fbbad76ef0943d8a4e25e89f725342018f5..5a307377e25e5bf261b6bc30b1c19e1ee10335e9 100644 (file)
@@ -248,6 +248,12 @@ gst_afsink_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
     case ARG_LOCATION:
       g_value_set_string (value, sink->filename);
       break;
+    case ARG_TYPE:
+      g_value_set_enum (value, sink->type);
+      break;
+    case ARG_OUTPUT_ENDIANNESS:
+      g_value_set_int (value, sink->endianness_output);
+      break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;