summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-07-14Merge pull request #131 from gdesmott/uri-crashHEADmasterBrendan Long1-9/+30
dlnasrc: gst_dlna_src_uri_set_uri: set a GError when failing
2014-07-09dlnasrc: gst_dlna_src_uri_set_uri: set a GError when failingGuillaume Desmottes1-9/+30
GStreamer expects that a gst_uri_handler_set_uri() implementation returning FALSE also set the GError with the details about the failure. By not doing so, gst_element_make_from_uri() was crashing when trying to deference a NULL pointer.
2013-12-12Merge pull request #128 from cablelabs/dlnasrc-38-property-static-strSteve Maynard1-5/+5
Made properties support additional flag of G_PARAM_STATIC_STRINGS based ...
2013-12-12Made properties support additional flag of G_PARAM_STATIC_STRINGS based on ↵Lori Anderson1-5/+5
suggestion from gstreamer developers for element submission
2013-12-04Merge pull request #127 from cablelabs/ruih/revert-standalone-modelorianderson2-178/+68
Revert standalone mode
2013-12-04Revert "Added a "standalone" mode where dlnasrc can supply information about ↵Brendan Long2-101/+40
URI. This allows webkitwebsrc to remain the src when running in WebKit but reuse logic in dlnasrc for gathering info about dlna content. Also added a property which will indicate if supplied URI is dlna content. Added a "is-encrypted" property which indicates if the dlna content is encrypted. Added methods to retrieve the DTCP/IP host and port for encrypted content. Changed existing properties to a consistent naming scheme, use "-" rather than "_". Removed an used member variable "dtcp_key_storage". Added logic to check if new URI is assigned and not perform unnecessary logic. If dlnasrc is in "standalone" mode, don't setup bin. There are some white space changes which gst-indent insists upon - making lines shorter." This reverts commit 7b5e0eba2ec61330b66f613b15ff1e648f5866dc.
2013-12-04Revert "Changed all strcmp to g_strcmp0."Brendan Long1-2/+2
This reverts commit 1533cd0844a2e3d09f8d51791bd8235025bcb475.
2013-12-04Revert "Removed null check prior to g_strcmp0() since this comparison method ↵Brendan Long1-1/+1
handles nulls gracefully." This reverts commit 655f3d5f14789480d11c1ae34acb47efbcf68517.
2013-12-04Revert "Added duration-bytes and duration-nanos properties to support ↵Brendan Long1-25/+3
running in standalone mode from webkit. Also fix segfault when performing gst-inspect." This reverts commit 70ff594bd1888971ac7492ba1aec0c886c3b2b91.
2013-12-04Revert "Added "is-seekable" property to support seeking from webkit."Brendan Long1-12/+1
This reverts commit b97a6b3a592524b7a932adeeb901158cb2fbab5f.
2013-12-04Revert "Got rid of unnecessary ? TRUE : FALSE. Fixed up a log message to be ↵Brendan Long1-2/+3
consistent within the method." This reverts commit 5340a08e0334a47b42306ac46bdfe9918f880282.
2013-12-04Revert "Continuing work with getting WebKitWebSrc support. Changed ↵Brendan Long2-96/+79
"is-standalone" to "passthru-mode" since dlnasrc will now be connected in the pipeline in order to receive seek events to support seeking and rate changes within webkit. Added a sometimes sink pad since it will be used when dlnasrc is in passthru mode. Got rid of dtcp properties since these no longer need to be exposed since it will be handled by dlnasrc itself without intervention from webkitwebsrc." This reverts commit 628d356b9c0b45de1ac38ee590336fe56ba0cc93.
2013-12-03Merge pull request #125 from cablelabs/dlnasrc-56-duration-propsBrendan Long2-79/+96
Continuing work with getting WebKitWebSrc support. Changed "is-standalo...
2013-12-03Continuing work with getting WebKitWebSrc support. Changed "is-standalone" ↵Lori Anderson2-79/+96
to "passthru-mode" since dlnasrc will now be connected in the pipeline in order to receive seek events to support seeking and rate changes within webkit. Added a sometimes sink pad since it will be used when dlnasrc is in passthru mode. Got rid of dtcp properties since these no longer need to be exposed since it will be handled by dlnasrc itself without intervention from webkitwebsrc.
2013-12-02Merge pull request #124 from cablelabs/dlnasrc-56-duration-propsBrendan Long1-5/+37
Added duration-bytes and duration-nanos properties to support running in...
2013-12-02Got rid of unnecessary ? TRUE : FALSE. Fixed up a log message to be ↵Lori Anderson1-3/+2
consistent within the method.
2013-11-29Added "is-seekable" property to support seeking from webkit.Lori Anderson1-1/+12
2013-11-29Added duration-bytes and duration-nanos properties to support running in ↵Lori Anderson1-3/+25
standalone mode from webkit. Also fix segfault when performing gst-inspect.
2013-11-27Log message related changes only.Lori Anderson1-5/+5
2013-11-27Merge pull request #122 from cablelabs/change-strcmp-to-gstrcmp0Brendan Long1-2/+2
Changed all strcmp to g_strcmp0.
2013-11-26Removed null check prior to g_strcmp0() since this comparison method handles ↵Lori Anderson1-1/+1
nulls gracefully.
2013-11-26Changed all strcmp to g_strcmp0.Lori Anderson1-2/+2
2013-11-26Merge pull request #121 from cablelabs/dlnasrc-56-standalone-modeBrendan Long2-40/+101
Added a "standalone" mode where dlnasrc can supply information about URI...
2013-11-26Added a "standalone" mode where dlnasrc can supply information about URI. ↵Lori Anderson2-40/+101
This allows webkitwebsrc to remain the src when running in WebKit but reuse logic in dlnasrc for gathering info about dlna content. Also added a property which will indicate if supplied URI is dlna content. Added a "is-encrypted" property which indicates if the dlna content is encrypted. Added methods to retrieve the DTCP/IP host and port for encrypted content. Changed existing properties to a consistent naming scheme, use "-" rather than "_". Removed an used member variable "dtcp_key_storage". Added logic to check if new URI is assigned and not perform unnecessary logic. If dlnasrc is in "standalone" mode, don't setup bin. There are some white space changes which gst-indent insists upon - making lines shorter.
2013-11-25Merge pull request #120 from cablelabs/dlnasrc-116-dtcpip-passthrough-supportBrendan Long1-17/+13
Changed logic so dtcpip element is setup regardless if decrypting is nee...
2013-11-25Changed logic so dtcpip element is setup regardless if decrypting is needed. ↵Lori Anderson1-17/+13
dlnasrc will set dtcpip in "passthru-mode" for non-encrypted content. This will facilitate changing URIs with no need to link or unlink dtcpip element.
2013-11-25Merge pull request #119 from cablelabs/dlnasrc-118-rm-project-update-gitignoreBrendan Long2-82/+1
Added .cproject to .gitignore file and removed .project from git
2013-11-25Added .cproject to .gitignore file and removed .project from gitLori Anderson2-82/+1
2013-11-25Merge pull request #117 from cablelabs/dlnasrc-fix-obj-unref-errBrendan Long1-1/+2
Check for non-null soup msg prior to unref to eliminate error when using...
2013-11-25Check for non-null soup msg prior to unref to eliminate error when using ↵Lori Anderson1-1/+2
gst-inspect
2013-11-12Merge pull request #113 from cablelabs/dlnasrc-112-seg-fault-w-rygelBrendan Long1-15/+19
Fixed segfault due to free of non-initialized memory. Re-ordered initia...
2013-11-12Fixed segfault due to free of non-initialized memory. Re-ordered ↵Lori Anderson1-15/+19
initialization in gst_dlna_src_init() to be consistent with order fields are defined in *.h file. Lowered state change log message from info to log. Make sure max number of playspeed strings are freed in dlna_src_head_response_free_struct(). Make sure all playspeed strings are initialized to NULL to prevent inadvertant freeing of string that was not allocated.
2013-11-07Merge pull request #110 from cablelabs/dlnasrc-106-memory-leakBrendan Long1-27/+70
Dlnasrc 106 memory leak
2013-11-06Explicitly free any string prior to overwriting with call to strdup()Lori Anderson1-0/+22
2013-11-06Changed dispose() to finalize() as recommend in GStreamer code review - ↵Lori Anderson1-27/+48
dlnasrc #40. Renamed dlna_src_head_response_free() to dlna_src_head_response_free_struct() to align better with _init_struct(). Reviewed all "new" calls and verified that there were associated "free" calls. Got rid of unnecessary calls to dlna_src_uri_init() to make logic cleaner.
2013-11-06Merge pull request #109 from cablelabs/dlnasrc-43-remove-cl-name-propBrendan Long2-21/+0
Removed "cl-name" property since the perferred way is to use g_type_name...
2013-11-06Removed "cl-name" property since the perferred way is to use ↵Lori Anderson2-21/+0
g_type_name(G_OBJECT_TYPE (src)) to determine if source of pipeline is dlnasrc
2013-11-05Merge pull request #108 from cablelabs/dlnasrc-46-remove-play-marshallBrendan Long1-7/+0
Removed unused method declaration pointed out in GStreamer code review.
2013-11-05Removed unused method declaration pointed out in GStreamer code review.Lori Anderson1-7/+0
2013-11-05Merge pull request #107 from cablelabs/dlnasrc-44-free-null-checksBrendan Long1-30/+15
Got rid of NULL checks prior to calling g_free() since g_free(NULL) is v...
2013-11-05Got rid of NULL checks prior to calling g_free() since g_free(NULL) is ↵Lori Anderson1-30/+15
valid. This was requested in code review by GStreamer developer.
2013-11-05Merge pull request #105 from cablelabs/dlnasrc-35-var-declarationsBrendan Long2-43/+36
Got rid of some comments that we not providing any additional informatio...
2013-11-05Got rid of some comments that we not providing any additional information. ↵Lori Anderson2-43/+36
Changed some c++ style comments to C style that were missed in previous checkins. Moved variable declarations to start of methods.
2013-11-05Removed code that got inadvertantly included while doing manual merge for ↵Lori Anderson1-24/+0
dlnasrc-36-cpp-comments
2013-11-05Merge branch 'master' into dlnasrc-36-cpp-commentsLori Anderson2-4/+26
Conflicts: src/gstdlnasrc.c
2013-11-05Resolved conflicts with prior checkins in dlnasrc-101 branch. Got rid of ↵Lori Anderson2-256/+214
some of the comments which did not add any additional understanding.
2013-11-05Merge pull request #104 from cablelabs/dlnasrc-101-dtcpBrendan Long2-86/+98
Dlnasrc 101 dtcp
2013-11-05Adjusted log level of message from ERROR to DEBUGLori Anderson1-1/+1
2013-11-05Changed comment from c++ style to c styleLori Anderson1-1/+1
2013-11-04Got rid of unused attributes in header file, left over from socket code. ↵Lori Anderson2-81/+76
Move the code that is needed to issue HEAD and setup bin element into new method dlna_src_uri_init(). When setting up the bin, check if dtcp element should be used as ghost src pad or soup http src. Got rid of duplicate code that used to be in dlna_src_setup_dtcp().